diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-11-09 19:06:37 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-11-09 19:06:37 +0000 |
| commit | 2cdc34f0d45bdb8f5f34e45f929d1adf328e5cb2 (patch) | |
| tree | 8c69bce33012684072850bf60cd804903db86f5a /roundcubemail/program/include/rcube_shared.inc | |
| parent | 413092aa8a26a5633b1da491d8577c2b8951515b (diff) | |
Corrected template parsing and output encoding
git-svn-id: https://svn.roundcube.net/trunk@364 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_shared.inc')
| -rw-r--r-- | roundcubemail/program/include/rcube_shared.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc index 11af48205..7f3771b08 100644 --- a/roundcubemail/program/include/rcube_shared.inc +++ b/roundcubemail/program/include/rcube_shared.inc @@ -215,7 +215,8 @@ class rcube_html_page if(($fpos = strrpos($output_lc, '</body>')) || ($fpos = strrpos($output_lc, '</html>'))) { - $output = substr($output,0,$fpos) . "$__page_footer\n" . substr($output,$fpos,strlen($output)); + $fpos -= 8; + $output = substr($output,0,$fpos) . "$__page_footer\n" . substr($output,$fpos); } else $output .= "\n$__page_footer"; |
