From: cajus Date: Wed, 10 Dec 2008 08:46:42 +0000 (+0000) Subject: Take care that results are returned X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=866ac11a28e8ab4a1a1145edc2a5b3502efbc42a;p=gosa.git Take care that results are returned git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13229 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/password-methods/class_password-methods.inc b/gosa-core/include/password-methods/class_password-methods.inc index 4a83b9c94..cde47c38e 100644 --- a/gosa-core/include/password-methods/class_password-methods.inc +++ b/gosa-core/include/password-methods/class_password-methods.inc @@ -92,7 +92,7 @@ class passwordMethod /* Check if this entry is already locked. */ if(preg_match("/^[^\}]*+\}!/",$pwd)){ - return; + return(TRUE); } /* Lock entry */ @@ -129,7 +129,7 @@ class passwordMethod /* Check if this entry is already locked. */ if(!preg_match("/^[^\}]*+\}!/",$pwd)){ - return; + return (TRUE); } /* Lock entry */