return false;
}
- if (key_in_foreign_table($curr, 'company', 'curr_default', true))
+ if ($curr == get_company_pref('curr_default'))
{
display_error(_("Cannot delete this currency, because the company preferences uses this currency."));
return false;