sprintf() without translation

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@98 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2007-07-10 13:51:06 +00:00
parent ae372aabba
commit 5be219fbd8
2 changed files with 3 additions and 3 deletions

View File

@@ -108,8 +108,8 @@ function lang($idf = null, $number = null) {
return array_keys($translations);
}
$translation = $translations[$LANG][$idf];
if ($number === false && $translation) {
return $translation; // used in _compile.php
if ($number === false) { // used in _compile.php
return ($translation ? $translation : $idf);
}
$args = func_get_args();
if (is_array($translation) && $translation) {