The variable $conf seems to be never defined

This commit is contained in:
Frédéric FRANCE 2019-12-12 20:06:01 +01:00 committed by GitHub
parent 95141550fa
commit 7d8707a7b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = '<u>'.$langs->trans("ShowReception").'</u>';
$label .= '<br><b>'.$langs->trans('Ref').':</b> '.$this->ref;