Filter out backslash characters
authorJoey Schulze <joey@infodrom.org>
Sat, 29 Apr 2017 20:11:14 +0000 (22:11 +0200)
committerJoey Schulze <joey@infodrom.org>
Sat, 29 Apr 2017 20:11:14 +0000 (22:11 +0200)
class/teachings.class.php

index f7d80cb..b88ceb0 100644 (file)
@@ -57,7 +57,7 @@ class Teachings {
       $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,
       $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);
     }
 
                       $link);
     }