diff --git a/application/controllers/user.php b/application/controllers/user.php index aa8f0ffc..09d1a953 100755 --- a/application/controllers/user.php +++ b/application/controllers/user.php @@ -1208,15 +1208,13 @@ function attendanceyear($empID ='') $EmpID = $this->input->post('EmpList'); $role = $this->input->post('role'); $password = $this->input->post('password'); - $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); + $dt = new DateTime('now', new DateTimeZone('Asia/Kolkata')); $updatedDate = $dt->format('Y-m-d H:i:s'); - - // echo $EmpID; + $email = $this->input->post('MailID'); $userInfo = array(); - - - $userInfo = array('password'=>getHashedPassword($password),'roleId'=>$role,'EmpId'=>$EmpID,'updatedDtm'=>$updatedDate); + + $userInfo = array('email'=>$email,'password'=>getHashedPassword($password),'roleId'=>$role,'EmpId'=>$EmpID,'updatedDtm'=>$updatedDate); diff --git a/application/views/includes/header.php b/application/views/includes/header.php index 365ddbf3..6e1d77f3 100644 --- a/application/views/includes/header.php +++ b/application/views/includes/header.php @@ -453,75 +453,71 @@ - - -