diff --git a/htdocs/reception/class/reception.class.php b/htdocs/reception/class/reception.class.php index 87349b7a924..095d9481cde 100644 --- a/htdocs/reception/class/reception.class.php +++ b/htdocs/reception/class/reception.class.php @@ -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;