asset issue
This commit is contained in:
parent
fb781ab722
commit
73dcc84b80
@ -241,6 +241,7 @@ public function edit_business()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
if ($this->input->post('module_id') !== null) {
|
||||||
{ for($i=0;$i<count($this->input->post('module_id'));$i++)
|
{ for($i=0;$i<count($this->input->post('module_id'));$i++)
|
||||||
{
|
{
|
||||||
$mdata['module_id'] = $this->input->post('module_id')[$i];
|
$mdata['module_id'] = $this->input->post('module_id')[$i];
|
||||||
@ -248,6 +249,7 @@ public function edit_business()
|
|||||||
$mdata['is_active'] = 1;
|
$mdata['is_active'] = 1;
|
||||||
$add_module = $this->MY_Model->insert($mdata, "permit_modules");
|
$add_module = $this->MY_Model->insert($mdata, "permit_modules");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user