scrutinizer on expensereport/class/expensereport_rule.class.php: method fetchLine wasn't defined

This commit is contained in:
Faustin 2022-09-12 16:57:23 +02:00
parent 54a211509b
commit 22ab13975f

View File

@ -171,6 +171,19 @@ class ExpenseReportRule extends CommonObject
}
/**
* 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
*