aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-25 10:13:10 +0000
committerMario <mario@mariovavti.com>2024-01-25 10:13:10 +0000
commitc0a7dfe2f6554fc66e753c456551dd580c479820 (patch)
tree2a5fe12284f8c2bfd44eb9e2af19fc9ef4e65cb4 /include/bbcode.php
parentfe50d78a0f3d7655cd5eefb7cdae44779c52b2b1 (diff)
downloadvolse-hubzilla-c0a7dfe2f6554fc66e753c456551dd580c479820.tar.gz
volse-hubzilla-c0a7dfe2f6554fc66e753c456551dd580c479820.tar.bz2
volse-hubzilla-c0a7dfe2f6554fc66e753c456551dd580c479820.zip
refactor fetch_and_store_parents() and inroduce the fetchparents daemon
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index e0a0fe9a1..fb10ceb4a 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -1097,6 +1097,10 @@ function parseIdentityAwareHTML($Text) {
function bbcode($Text, $options = []) {
+ if (!$Text) {
+ return EMPTY_STR;
+ }
+
if(! is_array($options)) {
$options = [];
}