From: cajus Date: Thu, 19 Jan 2006 11:32:55 +0000 (+0000) Subject: Fixed typo X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=24c6ac92b6857a252d8af164f1b62b3a33c6f1b5;p=gosa.git Fixed typo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2528 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 11a949f9c..339a3ef72 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -372,7 +372,7 @@ function add_lock ($object, $user) /* Check for existing entries in lock area */ $ldap= $config->get_ldap_link(); $ldap->cd ($config->current['CONFIG']); - $ldap->search("(&(objectClass=gosaLockEntry)(gosaUser=$user)(gosaObject=".base64encode($object)."))", + $ldap->search("(&(objectClass=gosaLockEntry)(gosaUser=$user)(gosaObject=".base64_encode($object)."))", array("gosaUser")); if (!preg_match("/Success/i", $ldap->error)){ print_red (sprintf(_("Can't set locking information in LDAP database. Please check the 'config' entry in gosa.conf! LDAP server says '%s'."), $ldap->get_error()));