1 --- dokuwiki-plugin-ldapsearch-20090601/syntax.php 2009-06-01 21:07:10.000000000 +0300
2 +++ ldapsearch/syntax.php 2010-09-10 14:47:50.078973905 +0300
5 case DOKU_LEXER_SPECIAL : {
7 - if(preg_match("/$urlSyntax/",$match,&$matches)) {
8 + if(preg_match("/$urlSyntax/",$match,$matches)) {
10 'hostname' => $matches[1],
11 'port' => $matches[2],
14 $data = array( 'result' => null, 'ldapDetails' => $ldapDetails );
15 return array($state, $data);
16 - } elseif(preg_match_all("/$paramSyntax/",$match,&$matches, PREG_SET_ORDER)) {
17 + } elseif(preg_match_all("/$paramSyntax/",$match,$matches, PREG_SET_ORDER)) {
18 $ldapDetails = array();
19 foreach($matches as $pair) {
20 $value = preg_replace('/^"(.*?)"$/','$1',$pair[2]);