Forráskód Böngészése

bugfix array object mixup..

andre 1 éve
szülő
commit
aa8312c31a
1 módosított fájl, 2 hozzáadás és 10 törlés
  1. 2 10
      core/UI/Widget/DataTable/DataTable.php

+ 2 - 10
core/UI/Widget/DataTable/DataTable.php

@@ -131,14 +131,6 @@ class DataTable extends BaseContainer implements \ModulesGarden\Servers\ZimbraEm
 
         $this->recordsSet = $data;
 
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $data,
-            'Debug data',
-            $this->recordsSet
-        );
-        
         return $this;
     }
 
@@ -178,9 +170,9 @@ class DataTable extends BaseContainer implements \ModulesGarden\Servers\ZimbraEm
             return false;
         }
 
-        foreach ($this->recordsSet as $key => $row)
+        foreach ($this->recordsSet['records'] as $key => $row)
         {
-            $this->recordsSet[$key] = $this->replaceRowData($row, $replacementFunctions);
+            $this->recordsSet['records'][$key] = $this->replaceRowData($row, $replacementFunctions);
         }
     }