From 42696606e3249da7d9273b9c8c504910f5fc28b5 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 14 Mar 2024 16:03:02 +0000 Subject: wrong logic --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index bb08ab48e..f6ceaeca9 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -3191,7 +3191,7 @@ class Activity { public static function media_not_in_body($s, $body) { if (empty($body)) { - return false; + return true; } $s_alt = htmlspecialchars($s, ENT_QUOTES, 'UTF-8'); -- cgit v1.2.3