diff --git a/src/pages/profile.php b/src/pages/profile.php index a517d39f..9929bc21 100644 --- a/src/pages/profile.php +++ b/src/pages/profile.php @@ -105,7 +105,7 @@ if (isset($_POST['user-id'], $_POST['section'])) { } /** Currency */ - if (isset($_POST['user-currency']) && $_POST['user-currency'] !== $_SESSION['user']->getLocale()) { + if (isset($_POST['user-currency']) && $_POST['user-currency'] !== $_SESSION['user']->getLocale() && $_POST['user-currency'] !== $_SESSION['user']->getCurrency()) { $_SESSION['user']->setCurrency($_POST['user-currency']); $set[] = '`currency` = "' . $_SESSION['user']->getCurrency() . '"';