Update propal.class.php

This commit is contained in:
Frédéric FRANCE 2022-02-15 11:03:50 +01:00 committed by GitHub
parent 09c9b28b57
commit a6a1e3886a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3691,7 +3691,7 @@ class Propal extends CommonObject
}
global $action;
$hookmanager->initHooks(array('propaldao'));
$hookmanager->initHooks(array($this->element . 'dao'));
$parameters = array('id'=>$this->id, 'getnomurl'=>$result);
$reshook = $hookmanager->executeHooks('getNomUrl', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook > 0) {