FIX_AuditHistory
This commit is contained in:
parent
218794deef
commit
4787be58fe
@ -605,10 +605,6 @@ class MasterController extends ResourceController
|
||||
$tableName = $this->request->getGet('table_name');
|
||||
$pk = $this->request->getGet('pk');
|
||||
|
||||
$policy = $this->PolicyModel->where('enquiry_id',$pk)->first();
|
||||
|
||||
$pk = $policy['id'];
|
||||
|
||||
if (!$tableName || !$pk) {
|
||||
return $this->response->setJSON([
|
||||
'status' => 'failed',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user