r95354 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95353‎ | r95354 | r95355 >
Date:23:29, 23 August 2011
Author:yaron
Status:ok
Tags:
Comment:
Follow-up to r94696 - checking is_callable() against actual method being used
Modified paths:
  • /trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php
@@ -159,7 +159,7 @@
160160 // handle the 'color=' value, whether it came
161161 // from a compound query or a regular one
162162 // handling is different for SMW 1.5+
163 - $realFunction = array( $field, 'getResults' );
 163+ $realFunction = array( $field, 'getResultSubject' );
164164 if ( is_callable( $realFunction ) ) {
165165 $res_subject = $field->getResultSubject();
166166 if ( isset( $res_subject->display_options )

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94696fix strict warningsjeroendedauw22:06, 16 August 2011

Status & tagging log