diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-18 02:55:39 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-18 02:55:39 +0300 |
commit | 92546e1ec54ec967dedbf5dfbe28020dd18ad6f5 (patch) | |
tree | 254a2a6bf60494f38d8ecabfe34cf4976ac0de41 /core/DataTable | |
parent | 69c05088f55077ec9c6e4b0c0891d32f6b0f4045 (diff) |
Remove PHP 5.3.3 XML response 'normalizing' in system tests.
Diffstat (limited to 'core/DataTable')
-rw-r--r-- | core/DataTable/Filter/SafeDecodeLabel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/DataTable/Filter/SafeDecodeLabel.php b/core/DataTable/Filter/SafeDecodeLabel.php index 963706f55a..f2629618b1 100644 --- a/core/DataTable/Filter/SafeDecodeLabel.php +++ b/core/DataTable/Filter/SafeDecodeLabel.php @@ -43,7 +43,7 @@ class SafeDecodeLabel extends BaseFilter $value = htmlspecialchars_decode($raw, ENT_QUOTES); // ENT_IGNORE so that if utf8 string has some errors, we simply discard invalid code unit sequences - $style = ENT_IGNORE; + $style = ENT_QUOTES | ENT_IGNORE; // See changes in 5.4: http://nikic.github.com/2012/01/28/htmlspecialchars-improvements-in-PHP-5-4.html // Note: at some point we should change ENT_IGNORE to ENT_SUBSTITUTE |