Skip to content

Commit 949c77f

Browse files
committed
Coding mistake
1 parent ae66b7f commit 949c77f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

event/main_listener.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ public function configure_url_parsing($event)
164164
*/
165165
public function modify_tag_templates($event)
166166
{
167-
try {
167+
try
168+
{
168169
// force YouTube to use the no cookies until the user starts video playback
169170
$tag = $event['configurator']->tags['YOUTUBE'];
170171
$tag->template = str_replace('www.youtube.com', 'www.youtube-nocookie.com', $tag->template);

0 commit comments

Comments
 (0)