diff --git a/settings.php b/settings.php index 62483c1e..b1a307d8 100644 --- a/settings.php +++ b/settings.php @@ -811,7 +811,6 @@ foreach ($entriesToDelete as $ThisID) { if (!empty($_User['IgnoredUsers'][$ThisID])) { $IgnoreSystem_Deleted[] = $ThisID; - unset($_User['IgnoredUsers'][$ThisID]); } } @@ -821,6 +820,10 @@ 'entriesIds' => $IgnoreSystem_Deleted, ]); + foreach ($IgnoreSystem_Deleted as $entryId) { + unset($_User['IgnoredUsers'][$entryId]); + } + $IgnoreSystem_Deleted_Count = count($IgnoreSystem_Deleted); $InfoMsgs[] = sprintf($_Lang['Ignore_DeletedXUsers'], $IgnoreSystem_Deleted_Count);