Fix arg type to trim() with cast
This commit is contained in:
parent
26287a363e
commit
f2e7dfad40
1 changed files with 2 additions and 2 deletions
|
|
@ -429,8 +429,8 @@ class StockTransferLine extends CommonObjectLine
|
|||
$p->fetch($this->fk_product);
|
||||
|
||||
$op = array();
|
||||
$op[0] = "+".trim($this->qty);
|
||||
$op[1] = "-".trim($this->qty);
|
||||
$op[0] = "+".trim((string) $this->qty);
|
||||
$op[1] = "-".trim((string) $this->qty);
|
||||
$movementstock = new MouvementStock($this->db);
|
||||
$st = new StockTransfer($this->db);
|
||||
$movementstock->origin_type = $st->origin_type;
|
||||
|
|
|
|||
Loading…
Reference in a new issue