Skip to content

Commit cb19aff

Browse files
authored
[4.3] Guided Tours fix DisplayController (#40320)
1 parent a575900 commit cb19aff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

administrator/components/com_guidedtours/src/Controller/DisplayController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ public function display($cachable = false, $urlparams = [])
5151

5252
if ($view === 'tour' && $layout === 'edit' && !$this->checkEditId('com_guidedtours.edit.tour', $id)) {
5353
$this->setMessage(Text::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id), 'error');
54-
$this->setRedirect(Route::_('index.php?option=com_guidedtour&view=tours', false));
54+
$this->setRedirect(Route::_('index.php?option=com_guidedtours&view=tours', false));
5555

5656
return false;
5757
}
5858

5959
if ($view === 'step' && $layout === 'edit' && !$this->checkEditId('com_guidedtours.edit.step', $id)) {
6060
$this->setMessage(Text::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id), 'error');
61-
$this->setRedirect(Route::_('index.php?option=com_guidedtour&view=steps', false));
61+
$this->setRedirect(Route::_('index.php?option=com_guidedtours&view=steps', false));
6262

6363
return false;
6464
}

0 commit comments

Comments
 (0)