From 7d8707a7b28106ebb5a3572e6d597e9a1da403b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 12 Dec 2019 20:06:01 +0100 Subject: [PATCH] The variable $conf seems to be never defined --- htdocs/reception/class/reception.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/reception/class/reception.class.php b/htdocs/reception/class/reception.class.php index e43782c2603..260a3744e2e 100644 --- a/htdocs/reception/class/reception.class.php +++ b/htdocs/reception/class/reception.class.php @@ -1106,7 +1106,7 @@ class Reception extends CommonObject */ public function getNomUrl($withpicto = 0, $option = 0, $max = 0, $short = 0, $notooltip = 0) { - global $langs; + global $conf, $langs; $result = ''; $label = ''.$langs->trans("ShowReception").''; $label .= '
'.$langs->trans('Ref').': '.$this->ref;