diff options
Diffstat (limited to 'includes/refresh.php')
-rw-r--r-- | includes/refresh.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |