summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 72ee990)
raw | patch | inline | side by side (parent: 72ee990)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Jan 2006 11:32:55 +0000 (11:32 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Jan 2006 11:32:55 +0000 (11:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2528 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 11a949f9c2ee0d092092ed738e7697c92efcf9c7..339a3ef72d94cfcdcd6371783f59fd09aeac1fd9 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
/* 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()));