mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 05:20:11 +01:00
include lang in the user settings modification audit entry
This commit is contained in:
parent
7463721c2a
commit
fe67582304
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user