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:
commit
43e41c7d78
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue