mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:20:12 +01:00
Fixed a php8 bug in audit model
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
d3cec46696
commit
3d013bcd84
@ -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) . " )";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user