From 7fd3342945454649f583029f09ad982d0973ae8d Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Thu, 01 Nov 2012 10:23:56 -0400 Subject: [PATCH] - Bugfix: system username was not changed when client username was modified. --- interface/web/client/client_edit.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/client/client_edit.php b/interface/web/client/client_edit.php index 350244c..6f7cf53 100644 --- a/interface/web/client/client_edit.php +++ b/interface/web/client/client_edit.php @@ -190,7 +190,7 @@ the data was successful updated in the database. */ function onAfterUpdate() { - global $app; + global $app, $conf; // username changed if(isset($conf['demo_mode']) && $conf['demo_mode'] != true && isset($this->dataRecord['username']) && $this->dataRecord['username'] != '' && $this->oldDataRecord['username'] != $this->dataRecord['username']) { $username = $app->db->quote($this->dataRecord["username"]); -- Gitblit v1.9.1