diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-02-02 11:47:38 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-02-02 11:47:38 +0100 |
commit | e312c381d897866b15179fd301d9979b46f2f678 (patch) | |
tree | 4930a612e609ad64b055ae9ad04c7f04023acd01 /include/html2bbcode.php | |
parent | af6f7f244e965c2dfb392b060d6e26c30dc78e31 (diff) | |
download | volse-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.php | 3 |
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( |