From 2317a3b81f980287c37a0aee7242e9159cd95b90 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 4 Jan 2018 15:58:07 +0000 Subject: [PATCH] Auto update does work now --- mod/update_community.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mod/update_community.php b/mod/update_community.php index 1e90053267..037c724891 100644 --- a/mod/update_community.php +++ b/mod/update_community.php @@ -12,7 +12,11 @@ function update_community_content(App $a) { echo "\r\n"; echo "
"; - $text = community_content($a, true); + if ($_GET["force"] == 1) { + $text = community_content($a, true); + } else { + $text = ''; + } $pattern = "/]*) src=\"([^\"]*)\"/"; $replace = "