From: jakubvrana Date: Mon, 26 May 2008 10:29:07 +0000 (+0000) Subject: Remove extra comma X-Git-Tag: v3.0.0~1100 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=eb7e599e5a2ffcd8ab8a86253b1ccc78449e086c;p=adminer.git Remove extra comma git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@416 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- 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"; }