summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-01-03 21:39:41 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-01-03 21:39:41 +0000
commitf62e6ba72a86aee0df3aae670dcf52ec7a391980 (patch)
tree523c69ede1f43e0bd697386817a175a552ef57a2 /roundcubemail/program/include
parent75c786cf1e1bb53bccc8efca3e83d9f3059f1482 (diff)
Fixed template parsing (multibyte substring issues)
git-svn-id: https://svn.roundcube.net/trunk@445 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rw-r--r--roundcubemail/program/include/rcube_shared.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc
index 20c806270..6cf641893 100644
--- a/roundcubemail/program/include/rcube_shared.inc
+++ b/roundcubemail/program/include/rcube_shared.inc
@@ -217,7 +217,7 @@ class rcube_html_page
$output_lc = rc_strtolower($output);
if(($fpos = strrstr($output_lc, '</body>')) ||
($fpos = strrstr($output_lc, '</html>')))
- $output = rc_substr($output,0,$fpos) . "$__page_footer\n" . rc_substr($output,$fpos);
+ $output = substr($output, 0, $fpos) . "$__page_footer\n" . substr($output, $fpos);
else
$output .= "\n$__page_footer";