Commit 6a3ac134 by Jansa Jose

Merge branch 'jansa'

parents 93e2cd3c 24a686b4
......@@ -549,13 +549,14 @@ class Home extends CI_Controller {
$request = $_POST;
$result=$this->Home_model->login($request);
if($result['userdata']['gender'] == '0'){ $result['userdata']['gender'] == 'MALE'; }
else if($result['userdata']['gender'] == '1'){$result['userdata']['gender'] == 'FEMALE'; }
else{ $result['userdata']['gender'] == 'OTHERS'; }
if(($result['status']=='success')&&($result['userdata']['account_status']==0))
{
if($result['userdata']['gender'] == '0'){ $result['userdata']['gender'] == 'MALE'; }
else if($result['userdata']['gender'] == '1'){$result['userdata']['gender'] == 'FEMALE'; }
else{ $result['userdata']['gender'] == 'OTHERS'; }
//if(($result['status']=='success')&&($request['login_type']=="PATIENT"))
if(($result['status']=='success')&&($result['type']=="PATIENT"))
......
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 to comment