diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-04 07:54:02 +0200 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-04 07:54:02 +0200 |
commit | 43e41c7d7888d5c8e5504bdd5c427e4f454ffb31 (patch) | |
tree | 0e891ef6e761c72406e560969bbc283351d18bc1 | |
parent | e968ec6c2244aee600358b3c87648b2409c97945 (diff) | |
parent | b6a06fa38933a1a5c8b3999ece0f1d3f45c5a3f6 (diff) | |
download | wallabag-43e41c7d7888d5c8e5504bdd5c427e4f454ffb31.tar.gz wallabag-43e41c7d7888d5c8e5504bdd5c427e4f454ffb31.tar.zst wallabag-43e41c7d7888d5c8e5504bdd5c427e4f454ffb31.zip |
Merge pull request #1272 from wallabag/nicosomb-patch-1
remove new syntax for array
-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 | } |