Permalink
Browse files

fix oversight

  • Loading branch information...
flack committed Jan 9, 2018
1 parent d5b84db commit bb24d93fd94269c9c7ce1b2c7ed5cdfa7a5ae2f4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/net/nehmer/static/handler/autoindex.php
@@ -152,7 +152,7 @@ private function _process_datamanager(datamanager $datamanager, $article, array
$filename = "{$article->name}/{$attachment->name}";
$view[$filename] = $this->_get_attachment_data($filename, $attachment);
} elseif ($value instanceof storage\blobs) {
foreach ($content[$field] as $data) {
foreach ($content[$field] as $attachment) {
$filename = "{$article->name}/{$attachment->name}";
$view[$filename] = $this->_get_attachment_data($filename, $attachment);
}

0 comments on commit bb24d93

Please sign in to comment.