Commit 29f785bb by tetiana yaremko

cart session fixed

parent c6780914
Showing with 2 additions and 2 deletions
......@@ -51,8 +51,8 @@ class Auth extends CI_Controller
$new_cart = array();
foreach ($this->cart->contents() as $content) {
$cart = (object) array(
'id' => $content->id,
'qty' => $content->qty,
'id' => $content['id'],
'qty' => $content['qty'],
);
array_push($new_cart, $cart);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment