include lang in the user settings modification audit entry

This commit is contained in:
SJ 2013-03-21 20:29:28 +01:00
parent 7463721c2a
commit fe67582304

View File

@ -46,7 +46,7 @@ class ControllerUserSettings extends Controller {
if(isset($this->request->post['pagelen']) && isset($this->request->post['theme'])) { if(isset($this->request->post['pagelen']) && isset($this->request->post['theme'])) {
$this->model_user_prefs->set_user_preferences(Registry::get('username'), $this->request->post); $this->model_user_prefs->set_user_preferences(Registry::get('username'), $this->request->post);
AUDIT(ACTION_CHANGE_USER_SETTINGS, '', '', '', 'pagelen:' . $this->request->post['pagelen'] . ', theme:' . $this->request->post['theme']); AUDIT(ACTION_CHANGE_USER_SETTINGS, '', '', '', 'pagelen:' . $this->request->post['pagelen'] . ', theme:' . $this->request->post['theme'] . ', lang:' . $this->request->post['lang']);
Header("Location: settings.php"); Header("Location: settings.php");
return; return;