diff options
author | alecpl <alec@alec.pl> | 2011-07-26 10:54:18 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-07-26 10:54:18 +0000 |
commit | 909a3acb83c66aafa545eb086921a422a69cfabe (patch) | |
tree | 9acb0884ce691520eb96daecbad02d0b2a1c0bf0 /program/include/rcube_html_page.php | |
parent | 71e8cc3bce5053ca986a95ef119101d15317ddc6 (diff) |
- Move console object initialization code into one place
Diffstat (limited to 'program/include/rcube_html_page.php')
-rw-r--r-- | program/include/rcube_html_page.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/program/include/rcube_html_page.php b/program/include/rcube_html_page.php index 0cceb8964..200233c5d 100644 --- a/program/include/rcube_html_page.php +++ b/program/include/rcube_html_page.php @@ -219,12 +219,12 @@ class rcube_html_page } } - if (!empty($this->scripts['foot'])) { - $page_footer .= sprintf($this->script_tag, $this->scripts['foot']); + if (!empty($this->footer)) { + $page_footer .= $this->footer . "\n"; } - if (!empty($this->footer)) { - $page_footer .= $this->footer; + if (!empty($this->scripts['foot'])) { + $page_footer .= sprintf($this->script_tag, $this->scripts['foot']); } // find page header |