Skip to content

Commit 9c53264

Browse files
committed
Remove php method
1 parent 961c80f commit 9c53264

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

event/listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function validate_googleanalytics_id($event)
129129
$input = $event['cfg_array'][$event['config_name']];
130130

131131
// Add error message if the input is not a valid Google Analytics ID
132-
if (!preg_match('/^ua-\d{4,9}-\d{1,4}$/i', strval($input)))
132+
if (!preg_match('/^ua-\d{4,9}-\d{1,4}$/i', $input))
133133
{
134134
$error[] = $this->user->lang('ACP_GOOGLEANALYTICS_ID_INVALID', $input);
135135
}

0 commit comments

Comments
 (0)