Fix Pico::parseFileMeta()

pico-3.0-alpha
Daniel Rudolf 8 years ago
parent cc47043570
commit e8a19cb2f9
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
  1. 2
      lib/Pico.php

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

Loading…
Cancel
Save