diff options
author | thomascube <thomas@roundcube.net> | 2009-07-24 08:29:24 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-07-24 08:29:24 +0000 |
commit | f78dab1c80c27cd64b5e1f967da20fd43c17006d (patch) | |
tree | f1807acc4a6b47e26d5b097df152cb57defa21a4 /program/include | |
parent | efbe9ea781154c32ff8913eae95965c2f2ae8d9a (diff) |
Allow some recursion in reder_page hook (#1485977)
Diffstat (limited to 'program/include')
-rwxr-xr-x | program/include/rcube_template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index d4c3464db..ecb5a8942 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -289,7 +289,7 @@ class rcube_template extends rcube_html_page { if ($templ != 'iframe') { // prevent from endless loops - if ($this->app->plugins->is_processing('render_page')) { + if ($exit != 'recur' && $this->app->plugins->is_processing('render_page')) { raise_error(array('code' => 505, 'type' => 'php', 'message' => 'Recursion alert: ignoring output->send()'), true, false); return; } |