// Some fix after merge

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7781 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-28 13:03:43 +00:00
parent a875fecb20
commit 8bfd44085d
4 changed files with 4 additions and 4 deletions
+1
View File
@@ -28,6 +28,7 @@
ob_start();
$timerStart = microtime(true);
$context = Context::getContext();
if (isset($_GET['logout']))
$cookie->logout();
+1 -1
View File
@@ -97,7 +97,7 @@ Configuration::loadConfiguration();
Language::loadLanguages();
/* Loading default country */
$defaultCountry = new Country((int)(Configuration::get('PS_COUNTRY_DEFAULT')), Configuration::get('PS_LANG_DEFAULT'));
$defaultCountry = new Country(Configuration::get('PS_COUNTRY_DEFAULT'), Configuration::get('PS_LANG_DEFAULT'));
/* Instantiate cookie */
if (defined('PS_ADMIN_DIR'))
+1 -2
View File
@@ -42,7 +42,6 @@ class OrderDetailControllerCore extends FrontController
public function preProcess()
{
parent::preProcess();
if (Tools::isSubmit('submitMessage'))
{
@@ -74,7 +73,7 @@ class OrderDetailControllerCore extends FrontController
$to = strval($to->email);
}
$toName = strval(Configuration::get('PS_SHOP_NAME'));
$customer = $context->customer->id;
$customer = $this->context->customer->id;
if (Validate::isLoadedObject($customer))
Mail::Send($this->context->language->id, 'order_customer_comment', Mail::l('Message from a customer'),
array(
+1 -1
View File
@@ -209,7 +209,7 @@ class ProductControllerCore extends FrontController
'ecotax_tax_exc' => Tools::ps_round($this->product->ecotax, 2),
'ecotaxTax_rate' => $ecotax_rate,
'homeSize' => Image::getSize('home'),
'product_manufacturer' => new Manufacturer((int)$this->product->id_manufacturer, $context->language->id),
'product_manufacturer' => new Manufacturer((int)$this->product->id_manufacturer, $this->context->language->id),
'token' => Tools::getToken(false),
'productPriceWithoutEcoTax' => (float)$productPriceWithoutEcoTax,
'features' => $features,