mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 11:30:55 +01:00
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…
x
Reference in New Issue
Block a user