Fix var not defined

This commit is contained in:
Laurent Destailleur 2020-01-30 13:03:33 +01:00
parent 651173678c
commit 314456f812

View File

@ -948,7 +948,7 @@ class Dolresource extends CommonObject
*/
public function getNomUrl($withpicto = 0, $option = '', $get_params = '', $notooltip = 0, $morecss = '', $save_lastsearch_value = -1)
{
global $langs;
global $conf, $langs;
$result = '';
$label = '<u>'.$langs->trans("ShowResource").'</u>';