r94695 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94694‎ | r94695 | r94696 >
Date:21:59, 16 August 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix strict warning
Modified paths:
  • /trunk/extensions/SemanticCompoundQueries/SCQ_QueryProcessor.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticCompoundQueries/SCQ_QueryProcessor.php
@@ -185,7 +185,7 @@
186186 $icon_image_page = new ImagePage( $title );
187187
188188 // Method was only added in MW 1.13
189 - $realFunction = array( 'ImagePage', 'getDisplayedFile' );
 189+ $realFunction = array( $icon_image_page, 'getDisplayedFile' );
190190 if ( is_callable( $realFunction ) ) {
191191 $display_options['icon'] = $icon_image_page->getDisplayedFile()->getURL();
192192 }