From 0a5b736ce0bcba15b4daf9c15c6e99e4037f5a59 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Fri, 30 Mar 2007 12:06:09 +0000 Subject: [PATCH] Fix getPostId with accentuated characters git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@230 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- banana/spool.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.1.4