mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-13 20:11:07 +02:00
Unset $retval after HOOK_FORMAT_ENCLOSURES.
Fixes an edge case where changing the array of enclosures with HOOK_FORMAT_ENCLOSURES might break the dropdown rendering if HOOK_RENDER_ENCLOSURE has no registered hooks.
This commit is contained in:
parent
28539f6aaf
commit
8493163576
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user