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();