Update expensereport.class.php

This commit is contained in:
Frédéric FRANCE 2020-11-25 18:37:03 +01:00 committed by GitHub
parent 64e9944472
commit 9e56253704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1091,7 +1091,7 @@ class ExpenseReport extends CommonObject
if (!$notrigger) {
// Call trigger
$result = $this->call_trigger('EXPENSEREPORT_DELETE', $user);
$result = $this->call_trigger('EXPENSEREPORT_DELETE', $fuser);
if ($result < 0) { $error++; }
// End call triggers
}