From: hickert Date: Tue, 6 Apr 2010 09:57:29 +0000 (+0000) Subject: Updated sortable listing. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ab8c38b9c4a96542203b64b307d9a7b80dc2534a;p=gosa.git 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 --- 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; }