From: x2003bruneau Date: Fri, 30 Mar 2007 12:06:09 +0000 (+0000) Subject: Fix getPostId with accentuated characters X-Git-Tag: 1.8~75 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=0a5b736ce0bcba15b4daf9c15c6e99e4037f5a59;p=banana.git Fix getPostId with accentuated characters git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@230 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- diff --git a/banana/spool.inc.php b/banana/spool.inc.php index 31f3ff6..fbfe75c 100644 --- a/banana/spool.inc.php +++ b/banana/spool.inc.php @@ -586,9 +586,9 @@ class BananaSpool if (function_exists('hook_formatDisplayHeader')) { $val = hook_formatDisplayHeader('subject', $test, true); if (is_array($val)) { - $test = $val[0]; + $test = banana_html_entity_decode($val[0]); } else { - $test = $val; + $test = banana_html_entity_decode($val); } } $test = trim($test);