university changes done
This commit is contained in:
parent
a46103d4ad
commit
bfcedd7eeb
@ -39,6 +39,8 @@ class University_model extends CI_Model
|
|||||||
// update univesity details
|
// update univesity details
|
||||||
public function update_university_details($updateFor, $Arr) {
|
public function update_university_details($updateFor, $Arr) {
|
||||||
$this->db->where('UniversityID', $updateFor);
|
$this->db->where('UniversityID', $updateFor);
|
||||||
|
$this->db->where('BranchCode', $Arr['BranchCode']);
|
||||||
|
$this->db->where('ID', $Arr['ID']);
|
||||||
$this->db->update(UNIVERSITY, $Arr);
|
$this->db->update(UNIVERSITY, $Arr);
|
||||||
if ($this->db->affected_rows() == '1') {
|
if ($this->db->affected_rows() == '1') {
|
||||||
$result['updateUniversityStatus'] = true;
|
$result['updateUniversityStatus'] = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user