diff --git a/gosa-core/include/password-methods/class_password-methods.inc b/gosa-core/include/password-methods/class_password-methods.inc
index 4a83b9c942f851d487d1aa55b6ba582a98c4b387..cde47c38ee56f835040f0626c086058172ea29f1 100644 (file)
/* Check if this entry is already locked. */
if(preg_match("/^[^\}]*+\}!/",$pwd)){
- return;
+ return(TRUE);
}
/* Lock entry */
/* Check if this entry is already locked. */
if(!preg_match("/^[^\}]*+\}!/",$pwd)){
- return;
+ return (TRUE);
}
/* Lock entry */