Bugfix deleted_at
This commit is contained in:
parent
cd79dc6ba0
commit
d265e90034
|
@ -18,7 +18,7 @@ $query = Util\Query::getQuery($module, [
|
|||
]);
|
||||
Util\Query::setSegments(true);
|
||||
|
||||
$query = str_replace(['AND `deleted_at` IS NULL', '`deleted_at` IS NULL', 'AND deleted_at IS NULL', 'deleted_at IS NULL'], '', $query);
|
||||
$query = str_replace(['AND `deleted_at` IS NULL', '`deleted_at` IS NULL AND', '`deleted_at` IS NULL', 'AND deleted_at IS NULL', 'deleted_at IS NULL AND', 'deleted_at IS NULL'], '', $query);
|
||||
|
||||
$has_access = !empty($query) ? $dbo->fetchNum($query) !== 0 : true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue