Update commonobject.class.php

This commit is contained in:
Laurent Destailleur 2018-02-05 15:41:34 +01:00 committed by GitHub
parent 9a0dca57af
commit 6291cb4cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4708,7 +4708,7 @@ abstract class CommonObject
{
// Call trigger
$this->context=array('extrafieldaddupdate'=>1);
$result=$this->call_trigger(strtoupper($trigger, $userused);
$result=$this->call_trigger($trigger, $userused);
if ($result < 0) $error++;
// End call trigger
}