From 1b45fe315d492794f482737ded551d11281daed1 Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 8 Aug 2004 14:59:29 +0000 Subject: [PATCH] xtra_code updates in strings git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7856 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/strings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/strings.php b/functions/strings.php index 242a29b9..f0623a94 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -362,9 +362,9 @@ function sqWordWrap(&$line, $wrap) { global $languages, $squirrelmail_language; if (isset($languages[$squirrelmail_language]['XTRA_CODE']) && - function_exists($languages[$squirrelmail_language]['XTRA_CODE'])) { + function_exists($languages[$squirrelmail_language]['XTRA_CODE'] . '_wordwrap')) { if (mb_detect_encoding($line) != 'ASCII') { - $line = $languages[$squirrelmail_language]['XTRA_CODE']('wordwrap', $line, $wrap); + $line = call_user_func($languages[$squirrelmail_language]['XTRA_CODE'] . '_wordwrap', $line, $wrap); return; } } -- 2.25.1