From dc05ef6260a82912702887a3986bf12877e40be9 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Fri, 21 Aug 2009 16:14:00 +0000 Subject: [PATCH] Remove empty array git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@991 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- lang.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang.php b/lang.php index d39b0e91..1c4d18fd 100644 --- a/lang.php +++ b/lang.php @@ -14,8 +14,8 @@ foreach (array_merge( glob(dirname(__FILE__) . "/adminer/*.php"), glob(dirname(__FILE__) . "/adminer/include/*.php"), glob(dirname(__FILE__) . "/editor/*.php"), - glob(dirname(__FILE__) . "/editor/include/*.php"), -array()) as $filename) { + glob(dirname(__FILE__) . "/editor/include/*.php") +) as $filename) { $file = file_get_contents($filename); if (preg_match_all("~lang\\(('(?:[^\\\\']+|\\\\.)*')([),])~", $file, $matches)) { // lang() always uses apostrophes $messages_all += array_combine($matches[1], $matches[2]);