forked from Wavyzz/dolibarr
clean code expedition class (#35327)
* clean code expedition class * clean code expedition class * clean code expedition class * clean code expedition class * clean code expedition class * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * clean code
This commit is contained in:
@@ -2375,7 +2375,7 @@ class Commande extends CommonOrder
|
||||
if ($resql) {
|
||||
$obj = $this->db->fetch_object($resql);
|
||||
if ($obj) {
|
||||
$nb = $obj->nb;
|
||||
$nb = (int) $obj->nb;
|
||||
}
|
||||
|
||||
$this->db->free($resql);
|
||||
|
||||
Reference in New Issue
Block a user