From 44856cc6ea6f43aa3ef03b0cbd4d63f512753dd7 Mon Sep 17 00:00:00 2001 From: hystepik Date: Tue, 9 May 2023 16:05:15 +0200 Subject: [PATCH] Fix Ci --- htdocs/expedition/dispatch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/expedition/dispatch.php b/htdocs/expedition/dispatch.php index 374980377ae..9b08075da17 100644 --- a/htdocs/expedition/dispatch.php +++ b/htdocs/expedition/dispatch.php @@ -208,8 +208,8 @@ if ($action == 'updatelines' && $usercancreate) { if (!$error && $modebatch == "batch") { $sql = "UPDATE ".MAIN_DB_PREFIX.$expeditionlinebatch->table_element." SET"; - $sql .= " eatby = ".($eatby ? "'".$this->db->idate($eatby)."'" : "null"); - $sql .= " , sellby = ".($sellby ? "'".$this->db->idate($sellby)."'" : "null"); + $sql .= " eatby = ".($eatby ? "'".$db->idate($eatby)."'" : "null"); + $sql .= " , sellby = ".($sellby ? "'".$db->idate($sellby)."'" : "null"); $sql .= " , qty = ".((float) price2num(GETPOST($qty, 'int'), 'MS')); $sql .= " WHERE fk_expeditiondet = ".((int) $idline); $sql .= " AND batch = ".((int) $idline);