Fix wrong parameter check in Event::store
This commit is contained in:
parent
089f556327
commit
bc12ba68cd
1 changed files with 1 additions and 1 deletions
|
@ -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 '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue