aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-03-04 18:43:21 +0000
committerMario <mario@mariovavti.com>2022-03-04 18:43:21 +0000
commit37f56e1efd9d412d1e84d699b40746b52a0a4fc2 (patch)
tree606d5ff09a43adffae056def7a4e4e2b73046497 /include/html2bbcode.php
parent6294be371aa4b489212b76bc306420bf89f80588 (diff)
downloadvolse-hubzilla-37f56e1efd9d412d1e84d699b40746b52a0a4fc2.tar.gz
volse-hubzilla-37f56e1efd9d412d1e84d699b40746b52a0a4fc2.tar.bz2
volse-hubzilla-37f56e1efd9d412d1e84d699b40746b52a0a4fc2.zip
event fixes
Diffstat (limited to 'include/html2bbcode.php')
-rw-r--r--include/html2bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index 173ea63bd..cc67a5666 100644
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -87,7 +87,7 @@ function deletenode(&$doc, $node)
function html2bbcode($message)
{
- if(!$message)
+ if(!is_string($message) && !$message)
return;
$message = str_replace("\r", "", $message);