Add ampersand to hook
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 2 Sep 2008 21:38:42 +0000 (21:38 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 2 Sep 2008 21:38:42 +0000 (21:38 +0000)
includes/Article.php

index 1816be3..32d81fc 100644 (file)
@@ -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;