Daniel Rudolf 7 лет назад
Родитель
Сommit
e8a19cb2f9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/Pico.php

+ 1 - 1
lib/Pico.php

@@ -1346,7 +1346,7 @@ class Pico
             }
         } else {
             // guarantee array key existance
-            $meta = array_fill_keys(array_keys($headers), '');
+            $meta = array_fill_keys(array_values($headers), '');
             $meta['time'] = $meta['date_formatted'] = '';
         }