Index: trunk/extensions/SemanticCompoundQueries/SCQ_QueryProcessor.php |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | $icon_image_page = new ImagePage( $title ); |
187 | 187 | |
188 | 188 | // Method was only added in MW 1.13 |
189 | | - $realFunction = array( 'ImagePage', 'getDisplayedFile' ); |
| 189 | + $realFunction = array( $icon_image_page, 'getDisplayedFile' ); |
190 | 190 | if ( is_callable( $realFunction ) ) { |
191 | 191 | $display_options['icon'] = $icon_image_page->getDisplayedFile()->getURL(); |
192 | 192 | } |