diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 22dbaad84..88cdb37e7 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -3334,6 +3334,12 @@ class Activity { return true; } + // FIXME: it appears sometimes $s is an array (needs invetigation) + if (!is_string($s)) { + btlogger('Not a string: ' . print_r($s, true)); + return true; + } + $s_alt = htmlspecialchars($s, ENT_QUOTES, 'UTF-8'); if (