summaryrefslogtreecommitdiff
path: root/includes/refresh.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/refresh.php')
-rw-r--r--includes/refresh.php2
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) {