From e0df25940fcc1feaa6deb58e466a6603b8a4d8a4 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 2 Sep 2008 21:38:42 +0000 Subject: [PATCH] Add ampersand to hook --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1