From 359619a1d3b790bd6a3f08b8c609ce57777d281f Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 22 Jan 2010 15:15:39 +0000 Subject: [PATCH] Fixed UTF-8 display problems git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15265 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_sortableListing.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc index 36b44b67c..48babc455 100644 --- a/gosa-core/include/class_sortableListing.inc +++ b/gosa-core/include/class_sortableListing.inc @@ -102,7 +102,7 @@ class sortableListing { private function setModes($modes) { - $this->modes= $modes; + $this->modes= array_values($modes); } @@ -267,7 +267,7 @@ class sortableListing { $first= " style='border:0'"; foreach ($this->displayData[$row] as $column) { - $result.= " ".htmlentities($column)."\n"; + $result.= " ".$column."\n"; $first= ""; } @@ -467,7 +467,7 @@ class sortableListing { } - public function addEntry($entry, $displayEntry= null, $key= null) + public function addEntry($entry, $displayEntry= null, $key= null, $mode= null) { // Only add if not already there if (!$key) { @@ -493,6 +493,7 @@ class sortableListing { $this->data[]= $entry; $this->keys[]= count($this->mapping); } + $this->modes[]= $mode; $this->displayData[]= $displayEntry; $this->mapping[]= count($this->mapping); $this->modified= true; -- 2.30.2