diff options
author | Minteck <contact@minteck.org> | 2022-11-16 17:58:38 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-11-16 17:58:38 +0100 |
commit | f850a8a53efd719fef6c8784c5af7b89dd9a6a2f (patch) | |
tree | 87ff8becfdc620329516cb6d5348a997fc38df83 /includes | |
parent | 209356b8ade1920b50d1d3a1a5e121c6623d167b (diff) | |
download | pluralconnect-f850a8a53efd719fef6c8784c5af7b89dd9a6a2f.tar.gz pluralconnect-f850a8a53efd719fef6c8784c5af7b89dd9a6a2f.tar.bz2 pluralconnect-f850a8a53efd719fef6c8784c5af7b89dd9a6a2f.zip |
Big update
Diffstat (limited to 'includes')
-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) { |