Skip to content
Snippets Groups Projects
Commit 0c958521 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix cleaning of lines was not working

parent 73bcc3bf
Branches
Tags
No related merge requests found
......@@ -91,7 +91,7 @@ class DolibarrApi
// If object has lines, remove $db property
if(isset($object->lines) && count($object->lines) > 0) {
$nboflines = count($object->lines);
for ($i=0; $i < $nbofline; $i++)
for ($i=0; $i < $nboflines; $i++)
{
$this->_cleanObjectDatas($object->lines[$i]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment