This commit is contained in:
ldestailleur
2025-08-17 04:02:17 +02:00
parent 8aa82857f0
commit 82d477f4df

View File

@@ -1337,14 +1337,14 @@ class Reception extends CommonObject
/**
* Return clickable link of object (with eventually picto)
*
* @param int $withpicto Add picto into link
* @param int $option Where point the link
* @param int $max Max length to show
* @param int $short Use short labels
* @param int $notooltip 1=No tooltip
* @return string String with URL
* @param int $withpicto Include picto in link (0=No picto, 1=Include picto into link, 2=Only picto)
* @param string $option On what the link point to ('nolink', ...)
* @param int $max Max length to show
* @param int $short Return only the URL. Is this used ?
* @param int $notooltip 1=No tooltip
* @return string String with URL
*/
public function getNomUrl($withpicto = 0, $option = 0, $max = 0, $short = 0, $notooltip = 0)
public function getNomUrl($withpicto = 0, $option = '', $max = 0, $short = 0, $notooltip = 0)
{
global $langs, $hookmanager;