From: fidian Date: Wed, 31 Jan 2001 17:49:31 +0000 (+0000) Subject: That should fix the changes. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=84db4e6c4e94afec13c1078332129032becf0d6d That should fix the changes. Must not '*$var*' -- use "*$var*" or '*'.$var.'*' git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1009 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/abook_ldap_server.php b/functions/abook_ldap_server.php index a70a489e..d95b1ab3 100644 --- a/functions/abook_ldap_server.php +++ b/functions/abook_ldap_server.php @@ -131,8 +131,8 @@ // Encode the expression $expr = $this->charset_encode($expr); - if(!ereg('\*', $expr)) - $expr = '*$expr*'; + if(!ereg('\\*', $expr)) + $expr = "*$expr*"; $expression = "cn=$expr"; // Make sure connection is there