Index: trunk/tools/commonsapi/commonsapi.php |
— | — | @@ -133,7 +133,7 @@ |
134 | 134 | function try_information_template ( $text ) { |
135 | 135 | global $titles ; |
136 | 136 | $matches = array () ; |
137 | | - preg_match_all ( '/span\s+id="field-[^"]+"/' , $text , &$matches ) ; |
| 137 | + preg_match_all ( '/span\s+id="field-[^"]+"/' , $text , $matches ) ; |
138 | 138 | $matches = $matches[0] ; |
139 | 139 | if ( count ( $matches ) == 0 ) return false ; |
140 | 140 | |
— | — | @@ -532,4 +532,4 @@ |
533 | 533 | |
534 | 534 | print '</response>' ; |
535 | 535 | |
536 | | -?> |
\ No newline at end of file |
| 536 | +?> |