From 5e68157c560ea4e9dbc5fd9dfab5a5416da2173b Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 09 Feb 2009 02:39:01 -0500 Subject: [PATCH] - Pass static method as array to preg_replace_callback (#1485689) --- program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php b/program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php index 45448d0..6aa255c 100755 --- a/program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php +++ b/program/js/tiny_mce/plugins/spellchecker/classes/PSpell.php @@ -37,7 +37,7 @@ $words = pspell_suggest($this->_getPLink($lang), $word); for ($i=0; $i<count($words); $i++) - $words[$i] = utf8_encode($words[$i]); + $words[$i] = $words[$i]; return $words; } -- Gitblit v1.9.1