// REVERT MERGE

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7761 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-27 13:35:06 +00:00
parent e159c925d8
commit be4811aa6e
182 changed files with 1335 additions and 6181 deletions
+4 -8
View File
@@ -299,10 +299,8 @@ function displayAccount()
// Select the most appropriate country
if (Tools::getValue('id_country'))
$selectedCountry = (int)(Tools::getValue('id_country'));
else if ((int)$result['COUNTRYCODE'])
{
else
$selectedCountry = Country::getByIso(strval($result['COUNTRYCODE']));
}
$countries = Country::getCountries((int)($cookie->id_lang), true);
// Smarty assigns
@@ -335,12 +333,10 @@ function displayAccount()
// #####
// Process !!
/*if (!$cookie->isLogged(true))
{
displayAccount();
if (!$cookie->isLogged(true))
die('Not logged');
}*/
if (!$cart->getOrderTotal(true, Cart::BOTH))
elseif (!$cart->getOrderTotal(true, Cart::BOTH))
die('Empty cart');
// No token, we need to get one by making PayPal Authorisation