Merge pull request #13266 from hregis/patch-1

FIX missing global $conf
This commit is contained in:
Laurent Destailleur 2020-03-03 22:53:35 +01:00 committed by GitHub
commit 3f2d6ac2ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -969,6 +969,8 @@ class ExpenseReport extends CommonObject
public function fetch_lines()
{
// phpcs:enable
global $conf;
$this->lines=array();
$sql = ' SELECT de.rowid, de.comments, de.qty, de.value_unit, de.date, de.rang,';