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
1 changed files with 1 additions and 1 deletions

View File

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