projects
/
infodrom.org
/
infocon.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
447ee2a
)
Filter out some items
author
Joey Schulze
<joey@infodrom.org>
Tue, 8 Aug 2017 17:57:34 +0000
(19:57 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Tue, 8 Aug 2017 17:57:34 +0000
(19:57 +0200)
class/teachings.class.php
patch
|
blob
|
history
diff --git
a/class/teachings.class.php
b/class/teachings.class.php
index
b88ceb0
..
9af9ce6
100644
(file)
--- a/
class/teachings.class.php
+++ b/
class/teachings.class.php
@@
-43,8
+43,7
@@
class Teachings {
{
$html = '';
foreach ($this->list as $row) {
{
$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);
$dstart = explode('-', $row->start);
$dend = explode('-', $row->end);
@@
-75,6
+74,7
@@
class Teachings {
. '</tbody>'
. '</table>';
}
. '</tbody>'
. '</table>';
}
+
return $html;
}
}
return $html;
}
}