summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions2.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions2.php b/include/functions2.php
index b4018453e..445e9e022 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -1890,6 +1890,7 @@
$rv = $retval;
}
}
+ unset($retval); // Unset to prevent breaking render if there are no HOOK_RENDER_ENCLOSURE hooks below.
if ($rv === '' && !empty($result)) {
$entries_html = array();