Subversion Repositories SmartDukaan

Rev

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

Rev 13719 Rev 13736
Line 96... Line 96...
96
 * @throws NotFoundException
96
 * @throws NotFoundException
97
 * @param string $id
97
 * @param string $id
98
 * @return void
98
 * @return void
99
 */
99
 */
100
	public function view($id = null) {
100
	public function view($id = null) {
-
 
101
		$this->checkMobileNumber();
101
		$likedDeals = $disLikedDeals = array();
102
		$likedDeals = $disLikedDeals = array();
102
		if (!$this->Category->exists($id)) {
103
		if (!$this->Category->exists($id)) {
103
			throw new NotFoundException(__('Invalid category'));
104
			throw new NotFoundException(__('Invalid category'));
104
		}
105
		}
105
		$page = $this->request->query('page');
106
		$page = $this->request->query('page');