Merge pull request #12698 from frederic34/patch-11

The variable $conf seems to be never defined
This commit is contained in:
Laurent Destailleur 2019-12-14 13:47:09 +01:00 committed by GitHub
commit 4dc36ffd75
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;