FIX : Travis

This commit is contained in:
Adrien Raze 2023-04-05 15:37:35 +02:00
parent 21900345b8
commit 14560c1de8

View File

@ -639,7 +639,7 @@ class Mo extends CommonObject
$oldQty = $this->oldQty;
$newQty = $this->qty;
if ($newQty != $oldQty && !empty($this->oldQty)) {
$sql = 'SELECT rowid FROM ' . MAIN_DB_PREFIX . 'mrp_production WHERE fk_mo = ' . (int) $this->id;
$sql = "SELECT rowid FROM " . MAIN_DB_PREFIX . "mrp_production WHERE fk_mo = " . (int) $this->id;
$resql = $this->db->query($sql);
if ($resql) {
while ($obj = $this->db->fetch_object($resql)) {