after setting user prefs go to search page

This commit is contained in:
SJ
2013-07-29 20:42:04 +02:00
parent ae054320d6
commit c3d95332c2
2 changed files with 7 additions and 2 deletions

View File

@ -48,7 +48,12 @@ class ControllerUserSettings extends Controller {
AUDIT(ACTION_CHANGE_USER_SETTINGS, '', '', '', 'pagelen:' . $this->request->post['pagelen'] . ', theme:' . $this->request->post['theme'] . ', lang:' . $this->request->post['lang']);
Header("Location: settings.php");
if(isAdminUser() == 1) {
header("Location: " . SITE_URL . "index.php?route=health/health");
return;
}
header("Location: " . SITE_URL . "search.php");
return;
}