Commit 559ee216 by tetiana yaremko

cart session fixed

parent dd44e567
Showing with 1 additions and 1 deletions
......@@ -48,7 +48,7 @@ class Auth extends CI_Controller
} else {
$user_role = $this->auth->user_role();
$data=(object)array( $this->cart->contents());
$data['cart']= $this->cart->contents();
echo '<pre>'; echo $data; echo '</pre>';
die();
$this->cmodel->set_user_cart($this->session->userdata('email'), array('new_cart'=>$data));
......
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