We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c177f6 commit 962eb22Copy full SHA for 962eb22
1 file changed
event/listener.php
@@ -89,7 +89,7 @@ public function add_googleanalytics_configs($event)
89
$ga_config_vars = array(
90
'googleanalytics_id' => array(
91
'lang' => 'ACP_GOOGLEANALYTICS_ID',
92
- 'validate' => 'googleanayltics_id',
+ 'validate' => 'googleanalytics_id',
93
'type' => 'text:40:20',
94
'explain' => true,
95
),
@@ -122,7 +122,7 @@ public function add_googleanalytics_configs($event)
122
public function validate_googleanalytics_id($event)
123
{
124
// Check if the validate test is for google_analytics
125
- if ($event['config_definition']['validate'] == 'googleanayltics_id')
+ if ($event['config_definition']['validate'] == 'googleanalytics_id')
126
127
// Store the error and input event data
128
$error = $event['error'];
0 commit comments