From b6a06fa38933a1a5c8b3999ece0f1d3f45c5a3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 4 Aug 2015 06:29:57 +0200 Subject: [PATCH] remove new syntax for array --- inc/poche/Database.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index 7ec1602db..b5d4f00a9 100755 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php @@ -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]; }