fix php 7.2 compat (#10)

release-0.1
PhilW 6 years ago
parent 86fb57a355
commit d796306abb

@ -105,7 +105,7 @@ class swipe extends rcube_plugin
$this->list_type = $data['list_type'];
$this->actions[$this->list_type] = $data['actions'];
if (sizeof($this->actions[$this->list_type]) == 0) {
if (empty($this->actions[$this->list_type])) {
// no swipe actions found, disable the plugin
return;
}

Loading…
Cancel
Save