Skip to content

Commit

Permalink
Fixed typo, fixes #334
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Aug 29, 2017
1 parent 8c3ba4e commit 72488e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Checkout/Model/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function addProduct($productInfo, $requestInfo=null)
$product = $this->_getProduct($productInfo);
$request = $this->_getProductRequest($requestInfo);

Mage::dispatchEvent('checkout_cart_product_add_before', array('request' => $request', product' => $product));
Mage::dispatchEvent('checkout_cart_product_add_before', array('request' => $request, 'product' => $product));

/** @var Mage_Catalog_Helper_Product $helper */
$helper = Mage::helper('catalog/product');
Expand Down

0 comments on commit 72488e9

Please sign in to comment.