Fix bug with simpleevents where the description didn't start with <p> tags
This commit is contained in:
parent
66504057b2
commit
c2374d999d
|
@ -49,7 +49,7 @@ class SimpleEvent extends Event {
|
|||
}
|
||||
|
||||
public function getDescription() {
|
||||
return $this->descr;
|
||||
return array_map(function ($item) {return "<p>".$item;}, $this->descr);
|
||||
}
|
||||
|
||||
public function isDBEvent() {
|
||||
|
|
Reference in New Issue