1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +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);
for ($i = 0; $i < $count; $i++) {
$tag_entries = $this->retrieveTagsByEntry($entries[$i]['id']);
$tags = [];
$tags = array();
foreach ($tag_entries as $tag) {
$tags[] = $tag[1];
}