From ac05d75ab30f931bfaee846c7af5ec871aebc848 Mon Sep 17 00:00:00 2001 From: ycuki Date: Sat, 28 Nov 2020 00:50:20 +0100 Subject: [PATCH] Update 'tool/mastodonwch/index.php' --- tool/mastodonwch/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/mastodonwch/index.php b/tool/mastodonwch/index.php index 14481a15..39503053 100644 --- a/tool/mastodonwch/index.php +++ b/tool/mastodonwch/index.php @@ -36,11 +36,11 @@ $count_waitask = number_format($count_waitask); $lastuptime = humanTiming(filemtime('/onion/sseeccrreett/data/mastodon.toot.scan')); $var_who = htmlspecialchars($_GET['who'], ENT_QUOTES); $resultHTML = ''; -if (strpos($var_who, '--') !== false) +if (write_this_block_yourself) { $var_who = ''; } -if (preg_match("/write_here_yourself/", $var_who)) +if (preg_match("/write_this_block_yourself/", $var_who)) { $resultHTML .= '
'; $person_a = 0;