From ab8c38b9c4a96542203b64b307d9a7b80dc2534a Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 6 Apr 2010 09:57:29 +0000 Subject: [PATCH] Updated sortable listing. -Get Maintained data wasn't using the 'real' entry keys. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17479 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_sortableListing.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc index 904f705ee..cca0df230 100644 --- a/gosa-core/include/class_sortableListing.inc +++ b/gosa-core/include/class_sortableListing.inc @@ -448,11 +448,10 @@ class sortableListing { public function getMaintainedData() { $tmp= array(); - foreach ($this->mapping as $src => $dst) { - $tmp[$this->keys[$dst]]= $this->data[$dst]; + $realKey = $this->keys[$dst]; + $tmp[$realKey] = $this->data[$realKey]; } - return $tmp; } -- 2.30.2