X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=includes%2FMagicWord.php;h=09317d7b1f1062e5a65c5b7e03e345a4c88919f6;hb=fb3ae6fbe31738a0c886dcbeab90ca39bff9c167;hp=5968e879038e2f577cdcb16f3743f766c38fe6be;hpb=93222688610be9735eb53aef30683e1c231b2833;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MagicWord.php b/includes/MagicWord.php index 5968e87903..09317d7b1f 100644 --- a/includes/MagicWord.php +++ b/includes/MagicWord.php @@ -526,7 +526,7 @@ class MagicWord { $this->mFound = false; $text = preg_replace_callback( $this->getRegex(), - [ &$this, 'pregRemoveAndRecord' ], + [ $this, 'pregRemoveAndRecord' ], $text ); @@ -541,7 +541,7 @@ class MagicWord { $this->mFound = false; $text = preg_replace_callback( $this->getRegexStart(), - [ &$this, 'pregRemoveAndRecord' ], + [ $this, 'pregRemoveAndRecord' ], $text );