admin/languages.php
find
Code:
$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'");
}
replace by
Code:
$lng = $db->Execute("select languages_id
from " . TABLE_LANGUAGES . "
where code = '" . DEFAULT_LANGUAGE . "'");
if ($lng->fields['languages_id'] == $lID) {
$db->Execute("update " . TABLE_CONFIGURATION . "
set configuration_value = ''
where configuration_key = 'DEFAULT_LANGUAGE'");
}
Bookmarks