Subversion Repositories SmartDukaan

Rev

Rev 14428 | Rev 14445 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14428 Rev 14441
Line 29... Line 29...
29
	}
29
	}
30
 
30
 
31
	public function mywallet() {
31
	public function mywallet() {
32
		$userId = $this->request->query('user_id');
32
		$userId = $this->request->query('user_id');
33
		if(isset($userId) && !empty($userId)){	
33
		if(isset($userId) && !empty($userId)){	
34
			$next = "&next=/my-wallet";					
34
			$next = "/my-wallet";					
35
			$redirectUrl = $this->getAutoLoginUrl($userId,$next);
35
			$redirectUrl = $this->getAutoLoginUrl($userId,$next);
36
			header('location:'.$redirectUrl);
36
			header('location:'.$redirectUrl);
37
			exit();
37
			exit();
38
		}
38
		}
39
	}
39
	}