From: moodler
Date: Mon, 25 Aug 2003 17:42:21 +0000 (+0000)
Subject: Sometimes changepassword is 0 or 1 ... so deal with that
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=61a5e1e9026201a642423a04fa6c81780b9ba362;p=moodle.git
Sometimes changepassword is 0 or 1 ... so deal with that
---
diff --git a/user/view.php b/user/view.php
index 9e98fb4d54..0c58660759 100644
--- a/user/view.php
+++ b/user/view.php
@@ -143,7 +143,7 @@
echo "id\">";
echo "";
echo "
";
- } else if ($CFG->changepassword) {
+ } else if (strlen($CFG->changepassword) > 1) {
echo "