Skip to content

Commit dd41aab

Browse files
committed
#85 direct link to category list after inserting a new category
1 parent 43b7370 commit dd41aab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adm_program/modules/categories/categories_function.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,8 @@
188188
$gNavigation->deleteLastUrl();
189189
unset($_SESSION['categories_request']);
190190

191-
$gMessage->setForwardUrl($gNavigation->getUrl());
192-
$gMessage->show($gL10n->get('SYS_SAVE_DATA'));
193-
191+
header('Location: '. $gNavigation->getUrl());
192+
exit();
194193
}
195194
elseif($getMode == 2)
196195
{

0 commit comments

Comments
 (0)