aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-14 16:03:02 +0000
committerMario <mario@mariovavti.com>2024-03-14 16:03:02 +0000
commit42696606e3249da7d9273b9c8c504910f5fc28b5 (patch)
tree834c3108dd8d03352bda23189e2facd3715d8c52
parentb645ede16832f4037243a61168540e5801e2a6ed (diff)
downloadvolse-hubzilla-42696606e3249da7d9273b9c8c504910f5fc28b5.tar.gz
volse-hubzilla-42696606e3249da7d9273b9c8c504910f5fc28b5.tar.bz2
volse-hubzilla-42696606e3249da7d9273b9c8c504910f5fc28b5.zip
wrong logic
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
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');