Fix wrong parameter check in Event::store

This commit is contained in:
Hypolite Petovan 2018-03-17 10:05:02 -04:00
parent 089f556327
commit bc12ba68cd

View File

@ -29,7 +29,7 @@ class Event extends BaseObject
public static function getHTML(array $event, $simple = false) public static function getHTML(array $event, $simple = false)
{ {
if (!is_array($event) || !!count($event)) { if (empty($event)) {
return ''; return '';
} }