From 462a9d991de33535def90be94450bd69abd4d536 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 03 Jan 2007 16:39:41 -0500 Subject: [PATCH] Fixed template parsing (multibyte substring issues) --- program/include/rcube_shared.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 20c8062..6cf6418 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -217,7 +217,7 @@ $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"; -- Gitblit v1.9.1