[BUG] admin/languages.php & DEFAULT_CURRENCY
I suspect the two occurences of "DEFAULT_CURRENCY" in "admin/languages.php" (lines 307 & 312) to be a mistake, isn't it?
Code:
$lID = zen_db_prepare_input($_GET['lID']);
$lng = $db->Execute("select languages_id
from " . TABLE_LANGUAGES . "
where code = '" . DEFAULT_CURRENCY . "'");
if ($lng->fields['languages_id'] == $lID) {
$db->Execute("update " . TABLE_CONFIGURATION . "
set configuration_value = ''
where configuration_key = 'DEFAULT_CURRENCY'");
}
"DEFAULT_CURRENCY" should be replaced with "DEFAULT_LANGUAGE".
Re: [BUG] admin/languages.php & DEFAULT_CURRENCY
No ... that setting is used for DEFAULT_CURRENCY which is the language code
It is correct ...
Re: [BUG] admin/languages.php & DEFAULT_CURRENCY
Re: [BUG] admin/languages.php & DEFAULT_CURRENCY
Not a problem ... always better to ask about something that looks odd or out of sorts than to not ask and find out it really was ... a ... umm ... you know ... bug ... :eek: