Skip to content

Commit 1e396cf

Browse files
author
Jen Lampton
committed
Two minor updates to the variable_set() fix.
1 parent ba4a638 commit 1e396cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

googleanalytics.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,9 @@ function googleanalytics_preprocess_layout() {
386386
// @FIXME: Cannot find the debug URL!???
387387
$library = 'https://www.googletagmanager.com/gtag/js?id=' . $id_list[0];
388388
}
389-
elseif ($config->get('googleanalytics_cache') && $url = _googleanalytics_cache('https://www.googletagmanager.com/gtag/js')) {
389+
elseif ($config->get('cache') && $url = _googleanalytics_cache('https://www.googletagmanager.com/gtag/js')) {
390390
// Should a local cached copy of gtag.js be used?
391-
$query_string = '?' . state_get('css_js_query_string', '0');
391+
$query_string = '?' . state_get('css_js_query_string', base_convert(REQUEST_TIME, 10, 36));
392392
$library = $url . $query_string;
393393
}
394394
else {

0 commit comments

Comments
 (0)