aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2015-08-04 07:54:02 +0200
committerJeremy Benoist <j0k3r@users.noreply.github.com>2015-08-04 07:54:02 +0200
commit43e41c7d7888d5c8e5504bdd5c427e4f454ffb31 (patch)
tree0e891ef6e761c72406e560969bbc283351d18bc1
parente968ec6c2244aee600358b3c87648b2409c97945 (diff)
parentb6a06fa38933a1a5c8b3999ece0f1d3f45c5a3f6 (diff)
downloadwallabag-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-xinc/poche/Database.class.php2
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 }