Index: trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php |
— | — | @@ -159,7 +159,7 @@ |
160 | 160 | // handle the 'color=' value, whether it came |
161 | 161 | // from a compound query or a regular one |
162 | 162 | // handling is different for SMW 1.5+ |
163 | | - $realFunction = array( $field, 'getResults' ); |
| 163 | + $realFunction = array( $field, 'getResultSubject' ); |
164 | 164 | if ( is_callable( $realFunction ) ) { |
165 | 165 | $res_subject = $field->getResultSubject(); |
166 | 166 | if ( isset( $res_subject->display_options ) |