aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-02-02 11:47:38 +0100
committerMario Vavti <mario@mariovavti.com>2021-02-02 11:47:38 +0100
commite312c381d897866b15179fd301d9979b46f2f678 (patch)
tree4930a612e609ad64b055ae9ad04c7f04023acd01 /include/html2bbcode.php
parentaf6f7f244e965c2dfb392b060d6e26c30dc78e31 (diff)
downloadvolse-hubzilla-e312c381d897866b15179fd301d9979b46f2f678.tar.gz
volse-hubzilla-e312c381d897866b15179fd301d9979b46f2f678.tar.bz2
volse-hubzilla-e312c381d897866b15179fd301d9979b46f2f678.zip
import_xchan() $arr photo structure has changed
Diffstat (limited to 'include/html2bbcode.php')
-rw-r--r--include/html2bbcode.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index c916421b8..173ea63bd 100644
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -87,6 +87,9 @@ function deletenode(&$doc, $node)
function html2bbcode($message)
{
+ if(!$message)
+ return;
+
$message = str_replace("\r", "", $message);
$message = str_replace(array(