Code

Take care that results are returned
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Dec 2008 08:46:42 +0000 (08:46 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Dec 2008 08:46:42 +0000 (08:46 +0000)
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

index 4a83b9c942f851d487d1aa55b6ba582a98c4b387..cde47c38ee56f835040f0626c086058172ea29f1 100644 (file)
@@ -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 */