Fix a bug in simplified urls for VideoHelper 2, a=chris
Fix a bug in simplified urls for VideoHelper 2, a=chris
diff --git a/src/views/helpers/VideosHelper.php b/src/views/helpers/VideosHelper.php
index 8aebd283d..131350725 100644
--- a/src/views/helpers/VideosHelper.php
+++ b/src/views/helpers/VideosHelper.php
@@ -81,7 +81,7 @@ class VideosHelper extends Helper implements CrawlConstants
$host_parts = explode(".", $host);
$company = $host;
foreach ($host_parts as $host_part) {
- if (!in_array(substr($host_part, 0 3), ["www", "htt"] &&
+ if (!in_array(substr($host_part, 0 3), ["www", "htt"]) &&
strlen($host_part) > 2) {
$company = $host_part;
break;