summaryrefslogtreecommitdiffstats
path: root/app/model
diff options
context:
space:
mode:
Diffstat (limited to 'app/model')
-rw-r--r--app/model/common.mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/model/common.mod.php b/app/model/common.mod.php
index a0bf6ae..33acb1b 100644
--- a/app/model/common.mod.php
+++ b/app/model/common.mod.php
@@ -79,7 +79,7 @@ class CommonModel extends MasterModel
return;
}
- if ($form->setPasswd == "true")
+ if ($form->setPasswd)
{
if ($user->validatePassword($form->curPasswd))
{