andre 2 лет назад
Родитель
Сommit
61102753d6

+ 10 - 1
app/Libs/Kerio/Components/Api/Soap/Helpers/AccountHelper.php

@@ -28,10 +28,19 @@ class AccountHelper
         {
             return null;
         }
+
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $date,
+            'Debug Time',
+            $format
+        );
+
         $tmpDate = strstr($date, '.', true);
         $tmpDate = $tmpDate ? $tmpDate : $date;
 
-        return date($format, strtotime($date));
+        return date($format, strtotime($tmpDate));
     }
 
     /**

+ 0 - 1
app/UI/Client/EmailAccount/Pages/Accounts.php

@@ -175,7 +175,6 @@ class Accounts extends DataTable implements ClientArea
 //            array('loginName','isEnabled','lastLoginInfo','diskSizeLimit');
         $accounts = $api->getUsers($fields,$this->maildomainID);
 
-
         logModuleCall(
             'kerioEmail',
             __FUNCTION__,