]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
fix part 006
authorAlexander Smirnov <fredeom@mail.ru>
Fri, 31 May 2024 09:53:23 +0000 (12:53 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Fri, 31 May 2024 09:53:23 +0000 (12:53 +0300)
erp24/services/CabinetService.php

index 1124a0007f305aa07fa9636f40592e2585bbf075..6d984519b4d2de4db40251929af6225b23d35746 100755 (executable)
@@ -3955,7 +3955,7 @@ Group BY admin_id
                 $result,
 
                 function ($a, $b) {
-                    return ($a['date'] - $b['date']);
+                    return (strtotime($a['date']) - strtotime($b['date']));
                 }
             );
         }