From 35c7e36790b3a443b51d5fa9e0185d6999d1f1fe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 9 Nov 2019 18:27:16 +0100 Subject: [PATCH] Add country --- htdocs/main.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 34d3d7a9768..ec74e583b57 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -2428,7 +2428,7 @@ if (! function_exists("llxFooter")) */ function llxFooter($comment = '', $zone = 'private', $disabledoutputofmessages = 0) { - global $conf, $db, $langs, $user, $object; + global $conf, $db, $langs, $user, $mysoc, $object; global $delayedhtmlcontent; global $contextpage, $page, $limit; @@ -2582,7 +2582,8 @@ if (! function_exists("llxFooter")) action: "dolibarrping", version: "", entity: "entity; ?>", - dbtype: "type); ?>" + dbtype: "type); ?>", + country_code: "country_code); ?>" }, success: function (data, status, xhr) { // success callback function (data contains body of response) console.log("Ping ok");