university changes done

This commit is contained in:
gandhimathi 2018-04-19 16:21:39 +05:30
parent a46103d4ad
commit bfcedd7eeb

View File

@ -39,6 +39,8 @@ class University_model extends CI_Model
// update univesity details
public function update_university_details($updateFor, $Arr) {
$this->db->where('UniversityID', $updateFor);
$this->db->where('BranchCode', $Arr['BranchCode']);
$this->db->where('ID', $Arr['ID']);
$this->db->update(UNIVERSITY, $Arr);
if ($this->db->affected_rows() == '1') {
$result['updateUniversityStatus'] = true;