scrutinizer on expensereport/class/expensereport_rule.class.php: method fetchLine wasn't defined
This commit is contained in:
parent
54a211509b
commit
22ab13975f
@ -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
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user