summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2018-11-04 14:22:37 (GMT)
committerhass2018-11-04 14:22:37 (GMT)
commit875cc82f9c4be1bbcb7cd9248ed4bde74b39a45e (patch)
tree2f45ca9d6cf9122d250732263ed6a53c80cb0bc9
parent445d55d3833fbe8c045599e5f0253958711b0470 (diff)
PHP 5.3 fix7.x-2.67.x-2.x
-rw-r--r--googleanalytics.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googleanalytics.admin.inc b/googleanalytics.admin.inc
index 36b0026..2d8afa3 100644
--- a/googleanalytics.admin.inc
+++ b/googleanalytics.admin.inc
@@ -816,7 +816,7 @@ function _googleanalytics_validate_create_field_name($name) {
return t('Create only field name %name is a disallowed field name. Please select <em>Multiple top-level domains</em> under <em>What are you tracking</em> to enable cross domain tracking.', array('%name' => $name));
}
if ($name == 'userId') {
- return t('Create only field name %name is a disallowed field name. Please enable <em>Track User ID</em> under <em>Tracking scope > Users</em>.', ['%name' => $name]);
+ return t('Create only field name %name is a disallowed field name. Please enable <em>Track User ID</em> under <em>Tracking scope > Users</em>.', array('%name' => $name));
}
if (!in_array($name, $create_only_fields)) {
return t('Create only field name %name is an unknown field name. Field names are case sensitive. Please see <a href="@url">create only fields</a> documentation for supported field names.', array('%name' => $name, '@url' => 'https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#create'));