From 9cad7676be864784a11c1cc382093eae6de76180 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Thu, 11 Jul 2024 15:25:39 +0300 Subject: [PATCH] =?utf8?q?=D0=92=D0=B5=D1=80=D0=BD=D1=83=D0=BB=20=D0=BF?= =?utf8?q?=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=20daysCnt=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/api1/views/cron/domru-cams.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); -- 2.39.5