From: hickert Date: Thu, 1 Jul 2010 15:28:32 +0000 (+0000) Subject: Updated proposal stuff for user passwords (MyAccount) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3427307c06f4f8e5ead3c4b6f8eaec0977957c80;p=gosa.git Updated proposal stuff for user passwords (MyAccount) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18910 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc index 785075b3f..b15797a36 100644 --- a/gosa-core/plugins/personal/password/class_password.inc +++ b/gosa-core/plugins/personal/password/class_password.inc @@ -46,9 +46,7 @@ class password extends plugin function refreshProposal() { $this->proposal = passwordMethod::getPasswordProposal($this->config); - if($this->proposal != ""){ - $this->proposalEnabled =TRUE; - } + $this->proposalEnabled = (!empty($this->proposal)); } diff --git a/gosa-core/plugins/personal/password/password.tpl b/gosa-core/plugins/personal/password/password.tpl index 7c9281830..d5b286049 100644 --- a/gosa-core/plugins/personal/password/password.tpl +++ b/gosa-core/plugins/personal/password/password.tpl @@ -6,7 +6,7 @@
-{if !proposalEnabled} +{if !$proposalEnabled}