Fix: [ bug #3310 ] OrderLine::fetch, FactureLigne::fetch and PropaleLigne::fetch do not return anything

Close #3310
This commit is contained in:
Marcos García de La Fuente
2015-08-09 13:52:02 +02:00
parent 6b2d7f7d19
commit 7cb564586e
5 changed files with 10 additions and 4 deletions

View File

@@ -3156,10 +3156,12 @@ class OrderLine extends CommonOrderLine
$this->date_end = $this->db->jdate($objp->date_end);
$this->db->free($result);
return 1;
}
else
{
dol_print_error($this->db);
return -1;
}
}