// MERGE with 1.4 r7770

This commit is contained in:
rMalie
2011-07-28 09:20:57 +00:00
parent 60b07cacb9
commit c17e7c236d
968 changed files with 26082 additions and 3937 deletions
+8 -4
View File
@@ -299,8 +299,10 @@ function displayAccount()
// Select the most appropriate country
if (Tools::getValue('id_country'))
$selectedCountry = (int)(Tools::getValue('id_country'));
else
else if ((int)$result['COUNTRYCODE'])
{
$selectedCountry = Country::getByIso(strval($result['COUNTRYCODE']));
}
$countries = Country::getCountries((int)($cookie->id_lang), true);
// Smarty assigns
@@ -333,10 +335,12 @@ function displayAccount()
// #####
// Process !!
if (!$cookie->isLogged(true))
/*if (!$cookie->isLogged(true))
{
displayAccount();
die('Not logged');
elseif (!$cart->getOrderTotal(true, Cart::BOTH))
}*/
if (!$cart->getOrderTotal(true, Cart::BOTH))
die('Empty cart');
// No token, we need to get one by making PayPal Authorisation