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".
Bookmarks