Merge pull request #12698 from frederic34/patch-11
The variable $conf seems to be never defined
This commit is contained in:
commit
4dc36ffd75
@ -1106,7 +1106,7 @@ class Reception extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public function getNomUrl($withpicto = 0, $option = 0, $max = 0, $short = 0, $notooltip = 0)
|
public function getNomUrl($withpicto = 0, $option = 0, $max = 0, $short = 0, $notooltip = 0)
|
||||||
{
|
{
|
||||||
global $langs;
|
global $conf, $langs;
|
||||||
$result = '';
|
$result = '';
|
||||||
$label = '<u>'.$langs->trans("ShowReception").'</u>';
|
$label = '<u>'.$langs->trans("ShowReception").'</u>';
|
||||||
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user