Fix Pico::parseFileMeta()

This commit is contained in:
Daniel Rudolf 2017-11-04 20:49:41 +01:00
parent cc47043570
commit e8a19cb2f9
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538

View file

@ -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'] = '';
}