Fix accept header in crawler
[phinde.git] / src / phinde / Fetcher.php
index 7cf11b77ec92f1df0b8f67e38c3b78834fb00558..666d7eda2449a6240a14d657bca6844922ecf3da 100644 (file)
@@ -29,7 +29,7 @@ class Fetcher
 
         $types = array();
         foreach ($actions as $action) {
 
         $types = array();
         foreach ($actions as $action) {
-            $types = array_merge($action::$supportedTypes);
+            $types = array_merge($types, array_keys($action::$supportedTypes));
         }
         $types = array_unique($types);
 
         }
         $types = array_unique($types);