andre 1 год назад
Родитель
Сommit
aa8312c31a
1 измененных файлов с 2 добавлено и 10 удалено
  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);
         }
     }