Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

check if LANGUAGE_CURRENCY exists (report #109)

  • Loading branch information...
commit ea92563a4c6207ed937d76c95a4f7f5dab13b899 1 parent feb8b04
@haraldpdl haraldpdl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  catalog/includes/application_top.php
View
2  catalog/includes/application_top.php
@@ -288,7 +288,7 @@
if (isset($HTTP_GET_VARS['currency']) && $currencies->is_set($HTTP_GET_VARS['currency'])) {
$currency = $HTTP_GET_VARS['currency'];
} else {
- $currency = (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') ? LANGUAGE_CURRENCY : DEFAULT_CURRENCY;
+ $currency = ((USE_DEFAULT_LANGUAGE_CURRENCY == 'true') && $currencies->is_set(LANGUAGE_CURRENCY)) ? LANGUAGE_CURRENCY : DEFAULT_CURRENCY;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.