Permalink
Browse files

Fix cleaning of lines was not working

  • Loading branch information...
eldy committed Nov 22, 2015
1 parent 73bcc3b commit 0c958521ac3e4afcd8680598c16faf37db9d8c8b
Showing with 1 addition and 1 deletion.
  1. +1 −1 htdocs/api/class/api.class.php
@@ -91,7 +91,7 @@ function _cleanObjectDatas($object) {
// 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 comments on commit 0c95852

Please sign in to comment.