Code

Added rendering for action menu
[gosa.git] / 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 */