summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-11-16 17:58:38 +0100
committerMinteck <contact@minteck.org>2022-11-16 17:58:38 +0100
commitf850a8a53efd719fef6c8784c5af7b89dd9a6a2f (patch)
tree87ff8becfdc620329516cb6d5348a997fc38df83 /includes
parent209356b8ade1920b50d1d3a1a5e121c6623d167b (diff)
downloadpluralconnect-f850a8a53efd719fef6c8784c5af7b89dd9a6a2f.tar.gz
pluralconnect-f850a8a53efd719fef6c8784c5af7b89dd9a6a2f.tar.bz2
pluralconnect-f850a8a53efd719fef6c8784c5af7b89dd9a6a2f.zip
Big update
Diffstat (limited to 'includes')
-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) {