소스 검색

Fix Pico::parseFileMeta()

Daniel Rudolf 7 년 전
부모
커밋
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'] = '';
         }