diff --git a/webui/model/audit/audit.php b/webui/model/audit/audit.php index 6fa71436..010f11e9 100644 --- a/webui/model/audit/audit.php +++ b/webui/model/audit/audit.php @@ -24,7 +24,7 @@ class ModelAuditAudit extends Model { $sortorder = "ORDER BY `$sort` $order"; - if(isset($data['action']) && $data['action'] != ACTION_ALL) { + if(isset($data['action']) && $data['action'] && $data['action'] != ACTION_ALL) { $where .= " AND ( " . $this->append_search_criteria("action", $data['action'], $arr) . " )"; }