diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-04 06:29:57 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-04 06:29:57 +0200 |
commit | b6a06fa38933a1a5c8b3999ece0f1d3f45c5a3f6 (patch) | |
tree | 0e891ef6e761c72406e560969bbc283351d18bc1 /inc/poche | |
parent | e968ec6c2244aee600358b3c87648b2409c97945 (diff) | |
download | wallabag-b6a06fa38933a1a5c8b3999ece0f1d3f45c5a3f6.tar.gz wallabag-b6a06fa38933a1a5c8b3999ece0f1d3f45c5a3f6.tar.zst wallabag-b6a06fa38933a1a5c8b3999ece0f1d3f45c5a3f6.zip |
remove new syntax for array
Diffstat (limited to 'inc/poche')
-rwxr-xr-x | inc/poche/Database.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index 7ec1602d..b5d4f00a 100755 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php | |||
@@ -333,7 +333,7 @@ class Database { | |||
333 | $count = count($entries); | 333 | $count = count($entries); |
334 | for ($i = 0; $i < $count; $i++) { | 334 | for ($i = 0; $i < $count; $i++) { |
335 | $tag_entries = $this->retrieveTagsByEntry($entries[$i]['id']); | 335 | $tag_entries = $this->retrieveTagsByEntry($entries[$i]['id']); |
336 | $tags = []; | 336 | $tags = array(); |
337 | foreach ($tag_entries as $tag) { | 337 | foreach ($tag_entries as $tag) { |
338 | $tags[] = $tag[1]; | 338 | $tags[] = $tag[1]; |
339 | } | 339 | } |