Update don.class.php
This commit is contained in:
parent
502aa1b14b
commit
7341e7ed07
@ -953,7 +953,15 @@ class Don extends CommonObject
|
|||||||
$result .= $this->ref;
|
$result .= $this->ref;
|
||||||
}
|
}
|
||||||
$result .= $linkend;
|
$result .= $linkend;
|
||||||
|
global $action;
|
||||||
|
$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) {
|
||||||
|
$result = $hookmanager->resPrint;
|
||||||
|
} else {
|
||||||
|
$result .= $hookmanager->resPrint;
|
||||||
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user