From 9676b8357441456befe6c7307405d264e5a75fb4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Oct 2017 16:00:46 +0200 Subject: [PATCH] Google tag enabled also on mobile --- htdocs/core/lib/functions.lib.php | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 3f459da02f8..abcb2d00ade 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -920,7 +920,7 @@ function dol_escape_js($stringtoescape, $mode=0, $noescapebackslashn=0) * * @param string $stringtoescape String to escape * @param int $keepb 1=Preserve b tags (otherwise, remove them) - * @param int $keepn 1=Preserve \r\n strings (otherwise, remove them) + * @param int $keepn 1=Preserve \r\n strings (otherwise, replace them with escaped value) * @return string Escaped string * @see dol_string_nohtmltag */ @@ -6375,21 +6375,18 @@ function printCommonFooter($zone='private') // Google Analytics (need Google module) if (! empty($conf->google->enabled) && ! empty($conf->global->MAIN_GOOGLE_AN_ID)) { - if (($conf->dol_use_jmobile != 4)) - { - print "\n"; - print ''."\n"; - } + print "\n"; + print ''."\n"; } // End of tuning