Subversion Repositories SmartDukaan

Rev

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

Rev 18809 Rev 18836
Line 299... Line 299...
299
		        			$this->request->data['status'] = 1;
299
		        			$this->request->data['status'] = 1;
300
		        		}
300
		        		}
301
					}
301
					}
302
 
302
 
303
	        	}
303
	        	}
304
	        	if(!empty($this->request->data['referrer']) || $this->request->data['referrer']==0) {
304
	        	if(!empty($this->request->data['referrer'])) {
305
	        		$referrer = $this->request->data['referrer'];
305
	        		$referrer = $this->request->data['referrer'];
306
	        		$this->log(print_r($referrer,1),'activations');
306
	        		$this->log(print_r($referrer,1),'activations');
307
	        		$this->loadModel('ActivationCode');
307
	        		$this->loadModel('ActivationCode');
308
	        		$exists = $this->ActivationCode->findByCode(strtoupper($referrer));
308
	        		$exists = $this->ActivationCode->findByCode(strtoupper($referrer));
309
	        		$this->log(print_r($exists,1),'activations');
309
	        		$this->log(print_r($exists,1),'activations');