From 3738d071f86aa5016ce326a009a278085b41fb48 Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 30 Sep 2016 17:08:20 +0200 Subject: remove long array syntax --- includes/helper/internationalization_helper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/helper/internationalization_helper.php') diff --git a/includes/helper/internationalization_helper.php b/includes/helper/internationalization_helper.php index 1f4f3558..60451197 100644 --- a/includes/helper/internationalization_helper.php +++ b/includes/helper/internationalization_helper.php @@ -1,8 +1,8 @@ "Deutsch", 'en_US.UTF-8' => "English" -); +]; $default_locale = 'en_US.UTF-8'; @@ -61,7 +61,7 @@ function make_langselect() { global $locales; $URL = $_SERVER["REQUEST_URI"] . (strpos($_SERVER["REQUEST_URI"], "?") > 0 ? '&' : '?') . "set_locale="; - $items = array(); + $items = []; foreach ($locales as $locale => $name) { $items[] = toolbar_item_link(htmlspecialchars($URL) . $locale, '', '' . $name . ' ' . $name); } -- cgit v1.2.3-70-g09d2