summaryrefslogtreecommitdiff
path: root/program/include/rcube_html_page.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-07-26 10:54:18 +0000
committeralecpl <alec@alec.pl>2011-07-26 10:54:18 +0000
commit909a3acb83c66aafa545eb086921a422a69cfabe (patch)
tree9acb0884ce691520eb96daecbad02d0b2a1c0bf0 /program/include/rcube_html_page.php
parent71e8cc3bce5053ca986a95ef119101d15317ddc6 (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.php8
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