fix merge
This commit is contained in:
parent
a613553f37
commit
dad73b755e
@ -2284,7 +2284,7 @@ class Adherent extends CommonObject
|
|||||||
}
|
}
|
||||||
global $action;
|
global $action;
|
||||||
$hookmanager->initHooks(array($this->element . 'dao'));
|
$hookmanager->initHooks(array($this->element . 'dao'));
|
||||||
$parameters = array('id'=>$this->id, 'getnomurl'=>$result);
|
$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
|
$reshook = $hookmanager->executeHooks('getNomUrl', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
if ($reshook > 0) {
|
if ($reshook > 0) {
|
||||||
$result = $hookmanager->resPrint;
|
$result = $hookmanager->resPrint;
|
||||||
|
|||||||
@ -360,14 +360,8 @@ class Asset extends CommonObject
|
|||||||
}
|
}
|
||||||
$result .= $linkend;
|
$result .= $linkend;
|
||||||
//if ($withpicto != 2) $result.=(($addlabel && $this->label) ? $sep . dol_trunc($this->label, ($addlabel > 1 ? $addlabel : 0)) : '');
|
//if ($withpicto != 2) $result.=(($addlabel && $this->label) ? $sep . dol_trunc($this->label, ($addlabel > 1 ? $addlabel : 0)) : '');
|
||||||
<<<<<<< HEAD
|
|
||||||
global $action;
|
global $action;
|
||||||
$hookmanager->initHooks(array($this->element . 'dao'));
|
$hookmanager->initHooks(array($this->element . 'dao'));
|
||||||
=======
|
|
||||||
|
|
||||||
global $action;
|
|
||||||
$hookmanager->initHooks(array('assetdao'));
|
|
||||||
>>>>>>> hookgetnomurl
|
|
||||||
$parameters = array('id'=>$this->id, 'getnomurl' => &$result);
|
$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
|
$reshook = $hookmanager->executeHooks('getNomUrl', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
if ($reshook > 0) {
|
if ($reshook > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user