From f850a8a53efd719fef6c8784c5af7b89dd9a6a2f Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 16 Nov 2022 17:58:38 +0100 Subject: Big update --- includes/refresh.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/refresh.php b/includes/refresh.php index fefebb2..18c01ed 100644 --- a/includes/refresh.php +++ b/includes/refresh.php @@ -31,7 +31,7 @@ $documents = array_map(function ($i) { })); $deletable = array_values(array_filter($documents, function ($i) { - return strip_tags($i["contents"]) === "/delete"; + return str_starts_with(strip_tags($i["contents"]), "/delete"); })); foreach ($deletable as $item) { -- cgit