From: Antoine Musso Date: Sun, 27 Nov 2005 14:50:12 +0000 (+0000) Subject: Wrap reference in an array X-Git-Tag: 1.6.0~1110 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=8dc6f7c06549fcdbd625e9f11a3932c534053b7d;p=lhc%2Fweb%2Fwiklou.git Wrap reference in an array --- diff --git a/includes/Article.php b/includes/Article.php index 563191c5d2..76670c241e 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2181,7 +2181,7 @@ class Article { global $wgDeferredUpdateList, $wgDBname, $wgMemc; global $wgMessageCache, $wgUser, $wgUseEnotif; - if ( wfRunHooks( 'ArticleEditUpdatesDeleteFromRecentchanges', &$this ) ) { + if ( wfRunHooks( 'ArticleEditUpdatesDeleteFromRecentchanges', array( &$this ) ) ) { wfSeedRandom(); if ( 0 == mt_rand( 0, 999 ) ) { # Periodically flush old entries from the recentchanges table.