{
$html = '';
foreach ($this->list as $row) {
- error_log($row->location);
- if ($row->location != 'Linuxhotel GmbH') continue;
+ if (strpos($row->location, 'Linuxhotel GmbH') === false) continue;
$dstart = explode('-', $row->start);
$dend = explode('-', $row->end);
$link = strlen($row->url) ? sprintf('<a href="%s">Details / Buchen</a>', $row->url) : '';
$html .= sprintf('<tr><td>%s</td><td>%s</td><td>%s</td></tr>',
$date,
- $row->title,
+ str_replace('\\', '', $row->title),
$link);
}
. '</tbody>'
. '</table>';
}
+
return $html;
}
}