1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

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); $count = count($entries);
for ($i = 0; $i < $count; $i++) { for ($i = 0; $i < $count; $i++) {
$tag_entries = $this->retrieveTagsByEntry($entries[$i]['id']); $tag_entries = $this->retrieveTagsByEntry($entries[$i]['id']);
$tags = []; $tags = array();
foreach ($tag_entries as $tag) { foreach ($tag_entries as $tag) {
$tags[] = $tag[1]; $tags[] = $tag[1];
} }