X-Git-Url: https://git.infodrom.org/?p=infodrom.org%2Finfocon.infodrom.org;a=blobdiff_plain;f=class%2Fteachings.class.php;h=9af9ce689fc29eafa0e467d5df5ee8ab30a0d93c;hp=b88ceb090c7ad872201ca38dfcaef1f3924e8ddc;hb=bb958b7d16ac821130539c6fda019dd338f8c657;hpb=447ee2ad8bb9f08273adb869834588f7fd42949e diff --git a/class/teachings.class.php b/class/teachings.class.php index b88ceb0..9af9ce6 100644 --- a/class/teachings.class.php +++ b/class/teachings.class.php @@ -43,8 +43,7 @@ class Teachings { { $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); @@ -75,6 +74,7 @@ class Teachings { . '' . ''; } + return $html; } }