From eb7e599e5a2ffcd8ab8a86253b1ccc78449e086c Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 26 May 2008 10:29:07 +0000 Subject: [PATCH] Remove extra comma git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@416 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- _compile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_compile.php b/_compile.php index 5ad7fe7f..b2872bcf 100644 --- a/_compile.php +++ b/_compile.php @@ -44,7 +44,7 @@ function put_file($match) { foreach ($translation_ids as $val) { $return .= (is_array($val) ? "array('" . implode("', '", array_map('add_apo_slashes', $val)) . "')" : "'" . add_apo_slashes($val) . "'") . ", "; } - $return .= "); break;\n"; + $return = substr($return, 0, -2) . "); break;\n"; } return "switch (\$LANG) {\n$return}\n"; }