Skip to content

Commit

Permalink
[FIX] 0038223: Undeletable filter in Trash (ILIAS-eLearning#6406)
Browse files Browse the repository at this point in the history
  • Loading branch information
chfsx authored and fwolf-ilias committed Oct 16, 2023
1 parent 40185b9 commit b2db142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/Tree/classes/class.ilTreeTrashQueries.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ protected function appendTrashNodeForContainerQueryFilter(array $filter): string
) . ' ';
}

if (isset($filter['deleted_by'])) {
if (isset($filter['deleted_by']) && !empty($filter['deleted_by'])) {
$usr_id = \ilObjUser::_lookupId($filter['deleted_by']);
if ($usr_id > 0) {
$query .= 'AND deleted_by = ' . $this->db->quote($usr_id, \ilDBConstants::T_INTEGER) . ' ';
Expand Down

0 comments on commit b2db142

Please sign in to comment.