likeku 8 yıl önce
ebeveyn
işleme
c21812a102
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      protected/controller/AdminController.php

+ 2 - 2
protected/controller/AdminController.php

@@ -204,9 +204,9 @@ function adduser(){
 		$cid=is_numeric($this->get_args('cid'))?$this->get_args('cid'):0;
 		$cid=is_numeric($this->get_args('cid'))?$this->get_args('cid'):0;
 		$hiredate=$this->get_args('hiredate')?$this->get_args('hiredate'):"";
 		$hiredate=$this->get_args('hiredate')?$this->get_args('hiredate'):"";
 		$nature=is_numeric($this->get_args('nature'))?$this->get_args('nature'):1;
 		$nature=is_numeric($this->get_args('nature'))?$this->get_args('nature'):1;
-  
+
 		if(!empty($username)&&!empty($password)&&!empty($cid)&&!empty($hiredate)&&!empty($nature)){
 		if(!empty($username)&&!empty($password)&&!empty($cid)&&!empty($hiredate)&&!empty($nature)){
-    
+
 			Doo::loadModel ( 'L_category' );
 			Doo::loadModel ( 'L_category' );
 			Doo::loadModel ( 'staff' );
 			Doo::loadModel ( 'staff' );
 			Doo::loadModel ( 'tag' );
 			Doo::loadModel ( 'tag' );