Fix can't add an attribute simply

This commit is contained in:
atm-ph 2018-06-15 11:02:46 +02:00
parent e18a5d148c
commit cb3704b67e

View File

@ -2010,7 +2010,7 @@ class Societe extends CommonObject
$hookmanager=new HookManager($this->db);
}
$hookmanager->initHooks(array('societedao'));
$parameters=array('id'=>$this->id);
$parameters=array('id'=>$this->id, 'linkclose'=>$linkclose);
$reshook=$hookmanager->executeHooks('getnomurltooltip',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks
if ($reshook > 0) $linkclose = $hookmanager->resPrint;
}