Fix bug with simpleevents where the description didn't start with <p> tags

This commit is contained in:
Peder Bergebakken Sundt 2018-02-20 18:56:02 +01:00
parent 66504057b2
commit c2374d999d
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class SimpleEvent extends Event {
} }
public function getDescription() { public function getDescription() {
return $this->descr; return array_map(function ($item) {return "<p>".$item;}, $this->descr);
} }
public function isDBEvent() { public function isDBEvent() {