From 462a9d991de33535def90be94450bd69abd4d536 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 3 Jan 2007 21:39:41 +0000 Subject: [PATCH] Fixed template parsing (multibyte substring issues) --- program/include/rcube_shared.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '')) || ($fpos = strrstr($output_lc, ''))) - $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";