|
@@ -172,7 +172,7 @@ class Institution extends Backend
|
|
|
}
|
|
|
if(!empty($id))
|
|
|
{
|
|
|
- $organization = $this->model->where('id',$id)->select()->toArray();
|
|
|
+ $organization = $this->model->where('institution_code',$id)->select()->toArray();
|
|
|
}elseif(!empty($name)){
|
|
|
$organization = $this->model->where('name',$name)->select()->toArray();
|
|
|
}else{
|