Permalink
Browse files

Remove extra comma

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@416 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
jakubvrana
jakubvrana committed May 26, 2008
1 parent 932a719 commit eb7e599e5a2ffcd8ab8a86253b1ccc78449e086c
Showing with 1 addition and 1 deletion.
  1. +1 −1 _compile.php
View
@@ -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";
}

0 comments on commit eb7e599

Please sign in to comment.