From 3427307c06f4f8e5ead3c4b6f8eaec0977957c80 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 1 Jul 2010 15:28:32 +0000 Subject: [PATCH] Updated proposal stuff for user passwords (MyAccount) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18910 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/password/class_password.inc | 4 +--- gosa-core/plugins/personal/password/password.tpl | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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} -- 2.30.2