Fix var not defined
This commit is contained in:
parent
651173678c
commit
314456f812
@ -948,7 +948,7 @@ class Dolresource extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public function getNomUrl($withpicto = 0, $option = '', $get_params = '', $notooltip = 0, $morecss = '', $save_lastsearch_value = -1)
|
public function getNomUrl($withpicto = 0, $option = '', $get_params = '', $notooltip = 0, $morecss = '', $save_lastsearch_value = -1)
|
||||||
{
|
{
|
||||||
global $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
$result = '';
|
$result = '';
|
||||||
$label = '<u>'.$langs->trans("ShowResource").'</u>';
|
$label = '<u>'.$langs->trans("ShowResource").'</u>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user