diff --git a/SimpleCaptcha/Captcha.php b/SimpleCaptcha/Captcha.php index 7de483842..7a0d90cf5 100644 --- a/SimpleCaptcha/Captcha.php +++ b/SimpleCaptcha/Captcha.php @@ -674,7 +674,7 @@ class SimpleCaptcha { $newLinks = $this->findLinks( $title, $newtext ); } - $unknownLinks = array_filter( $newLinks, [ &$this, 'filterLink' ] ); + $unknownLinks = array_filter( $newLinks, [ $this, 'filterLink' ] ); $addedLinks = array_diff( $unknownLinks, $oldLinks ); $numLinks = count( $addedLinks );