From af8f1ba169081990bfbe62fe295d8124f6aadc5c Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 17 Oct 2007 14:16:35 -0400 Subject: [PATCH] Added support for shell users in the interface and fixed several strict syntax issues. --- 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 473de4b..d2068d8 100644 --- a/interface/web/client/client_edit.php +++ b/interface/web/client/client_edit.php @@ -98,7 +98,7 @@ } // password changed - if($this->dataRecord["password"] != '') { + if(isset($this->dataRecord["password"]) && $this->dataRecord["password"] != '') { $password = addslashes($this->dataRecord["password"]); $client_id = $this->id; $sql = "UPDATE sys_user SET passwort = md5('$password') WHERE client_id = $client_id"; -- Gitblit v1.9.1