From d14bd829fbf07c364a84b619367eede6a559ba5d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 30 Aug 2018 17:01:22 +0200 Subject: [PATCH] FIX trans on null object --- htdocs/core/lib/functions2.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions2.lib.php b/htdocs/core/lib/functions2.lib.php index ea596294bf7..4553fec4641 100644 --- a/htdocs/core/lib/functions2.lib.php +++ b/htdocs/core/lib/functions2.lib.php @@ -1771,7 +1771,7 @@ function getSoapParams() */ function dolGetElementUrl($objectid,$objecttype,$withpicto=0,$option='') { - global $db,$conf; + global $db, $conf, $langs; $ret='';