fix for sticker
This commit is contained in:
parent
c4ad4a33e4
commit
64036706ed
@ -1238,16 +1238,12 @@ class MouvementStock extends CommonObject
|
||||
$result = $this->db->query($sql);
|
||||
if ($result) {
|
||||
if ($this->db->num_rows($result)) {
|
||||
|
||||
$obj = $this->db->fetch_object($result);
|
||||
|
||||
$cpt = $obj->cpt;
|
||||
|
||||
}
|
||||
|
||||
$this->db->free($result);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
dol_print_error($this->db);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user