Merge pull request #1272 from wallabag/nicosomb-patch-1

remove new syntax for array
This commit is contained in:
Jeremy Benoist 2015-08-04 07:54:02 +02:00
commit 43e41c7d78

View file

@ -333,7 +333,7 @@ class Database {
$count = count($entries);
for ($i = 0; $i < $count; $i++) {
$tag_entries = $this->retrieveTagsByEntry($entries[$i]['id']);
$tags = [];
$tags = array();
foreach ($tag_entries as $tag) {
$tags[] = $tag[1];
}