Code

Updated sortable listing.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Apr 2010 09:57:29 +0000 (09:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Apr 2010 09:57:29 +0000 (09:57 +0000)
-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

index 904f705eecd9d866c3d2d27f3ebae692922a3dbb..cca0df230be90c75999faed364fbac86bfc91fed 100644 (file)
@@ -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;
   }