From: Alexander Smirnov Date: Thu, 11 Jul 2024 12:25:39 +0000 (+0300) Subject: Вернул параметр daysCnt 2 X-Git-Tag: 1.4~80^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=9cad7676be864784a11c1cc382093eae6de76180;p=erp24_rep%2Fyii-erp24%2F.git Вернул параметр daysCnt 2 --- diff --git a/erp24/api1/views/cron/domru-cams.php b/erp24/api1/views/cron/domru-cams.php index 98e15b64..aaecfa18 100644 --- a/erp24/api1/views/cron/domru-cams.php +++ b/erp24/api1/views/cron/domru-cams.php @@ -22,8 +22,8 @@ foreach($revers as $cam_id => $name) { } -$daysCnt = 1; -if (!empty($_GET["daysCnt"])) $daysCnt = (int)$_GET["daysCnt"] - 1; +$daysCnt = 2; +if (!empty($_GET["daysCnt"])) $daysCnt = (int)$_GET["daysCnt"]; $date1 = date('Y-m-d', strtotime("-$daysCnt day", time())); $date2 = date('Y-m-d');