Index: trunk/extensions/SemanticResultFormats/Timeline/SRF_Timeline.php |
— | — | @@ -174,7 +174,7 @@ |
175 | 175 | while ( ( $object = $field->getNextObject() ) !== false ) { // Loop over property values |
176 | 176 | $event = $this->handlePropertyValue( |
177 | 177 | $object, $outputmode, $pr, $first_col, $hastitle, $hastime, |
178 | | - $first_value, $isEventline, $curmeta, $curdata, $date_value |
| 178 | + $first_value, $isEventline, $curmeta, $curdata, $date_value, $output |
179 | 179 | ); |
180 | 180 | if ( $event !== false ) { |
181 | 181 | $events[] = $event; |
— | — | @@ -182,7 +182,7 @@ |
183 | 183 | $first_value = false; |
184 | 184 | } |
185 | 185 | |
186 | | - if ( $output ) $curdata .= "<br />"; |
| 186 | + if ( $output ) $curdata .= '<br />'; |
187 | 187 | $output = false; |
188 | 188 | $first_col = false; |
189 | 189 | } |
— | — | @@ -248,11 +248,12 @@ |
249 | 249 | * @param string &$curmeta |
250 | 250 | * @param string &$curdata |
251 | 251 | * @param &$date_value |
| 252 | + * @param boolean &$output |
252 | 253 | * |
253 | 254 | * @return false or array |
254 | 255 | */ |
255 | 256 | protected function handlePropertyValue( SMWDataValue $object, $outputmode, SMWPrintRequest $pr, $first_col, |
256 | | - &$hastitle, &$hastime, $first_value, $isEventline, &$curmeta, &$curdata, $date_value ) { |
| 257 | + &$hastitle, &$hastime, $first_value, $isEventline, &$curmeta, &$curdata, $date_value, &$output ) { |
257 | 258 | |
258 | 259 | $event = false; |
259 | 260 | |