|
@@ -131,8 +131,8 @@
|
|
|
|
|
|
// Encode the expression
|
|
// Encode the expression
|
|
$expr = $this->charset_encode($expr);
|
|
$expr = $this->charset_encode($expr);
|
|
- if(!ereg('\*', $expr))
|
|
|
|
- $expr = '*$expr*';
|
|
|
|
|
|
+ if(!ereg('\\*', $expr))
|
|
|
|
+ $expr = "*$expr*";
|
|
$expression = "cn=$expr";
|
|
$expression = "cn=$expr";
|
|
|
|
|
|
// Make sure connection is there
|
|
// Make sure connection is there
|