scrutinizer on expensereport/class/expensereport_ik.class.php: method fetchLine was not defined

This commit is contained in:
Faustin 2022-09-12 16:42:47 +02:00
parent 4e1380f4eb
commit 09eede8cde

View File

@ -126,6 +126,19 @@ class ExpenseReportIk extends CommonObject
return $result;
}
/**
* Load object lines in memory from the database
*
* @return int <0 if KO, 0 if not found, >0 if OK
*/
public function fetchLines()
{
$this->lines = array();
$result = $this->fetchLinesCommon();
return $result;
}
/**
* Update object into database