From: Aaron Schulz Date: Tue, 2 Sep 2008 21:38:42 +0000 (+0000) Subject: Add ampersand to hook X-Git-Tag: 1.31.0-rc.0~45522 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=e0df25940fcc1feaa6deb58e466a6603b8a4d8a4;p=lhc%2Fweb%2Fwiklou.git Add ampersand to hook --- diff --git a/includes/Article.php b/includes/Article.php index 1816be307a..32d81fcc81 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2970,7 +2970,7 @@ class Article { if ( $cacheable ) { //extension may have reason to disable file caching on some pages. - $cacheable = wfRunHooks( 'IsFileCacheable', array( $this ) ); + $cacheable = wfRunHooks( 'IsFileCacheable', array( &$this ) ); } return $cacheable;