From 866ac11a28e8ab4a1a1145edc2a5b3502efbc42a Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 10 Dec 2008 08:46:42 +0000 Subject: [PATCH] Take care that results are returned git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13229 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/password-methods/class_password-methods.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.30.2