undefined : GWM
This commit is contained in:
parent
fd0f1d5e59
commit
f3a38357d4
@ -296,7 +296,8 @@ class PolicyController extends ResourceController
|
|||||||
->first();
|
->first();
|
||||||
|
|
||||||
if (!empty($policy['enquiry_id'])) {
|
if (!empty($policy['enquiry_id'])) {
|
||||||
$this->db->table('partner_enquiry')
|
$db = \Config\Database::connect();
|
||||||
|
$db->table('partner_enquiry')
|
||||||
->where('id', $policy['enquiry_id'])
|
->where('id', $policy['enquiry_id'])
|
||||||
->update($updateData);
|
->update($updateData);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user