summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-01-03 21:39:41 +0000
committerthomascube <thomas@roundcube.net>2007-01-03 21:39:41 +0000
commit462a9d991de33535def90be94450bd69abd4d536 (patch)
tree59e659ebbc932cd3e8ebeaca880d3663ecc80162 /program/include
parent18e2a3efd06b8ffe3b0d27707c6cf650e4ae56a3 (diff)
Fixed template parsing (multibyte substring issues)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_shared.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc
index 20c806270..6cf641893 100644
--- a/program/include/rcube_shared.inc
+++ b/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";