From 7c6dc930d2e485e63007bfbde909a15e599815c6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 2 May 2020 03:25:34 +0200 Subject: [PATCH] Fix var not defined --- htdocs/don/class/don.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/don/class/don.class.php b/htdocs/don/class/don.class.php index d2786cd2a79..77dbd177cbd 100644 --- a/htdocs/don/class/don.class.php +++ b/htdocs/don/class/don.class.php @@ -922,7 +922,7 @@ class Don extends CommonObject */ public function getNomUrl($withpicto = 0, $notooltip = 0) { - global $langs; + global $conf, $langs; if (!empty($conf->dol_no_mouse_hover)) $notooltip = 1; // Force disable tooltips