1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-06 17:41:01 +00:00

remove new syntax for array

This commit is contained in:
Nicolas Lœuillet 2015-08-04 06:29:57 +02:00
parent e968ec6c22
commit b6a06fa389

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];
} }