diff --git a/module/Application/src/Application/Controller/ServiceController.php b/module/Application/src/Application/Controller/ServiceController.php index ab0dcf7e..5955f558 100644 --- a/module/Application/src/Application/Controller/ServiceController.php +++ b/module/Application/src/Application/Controller/ServiceController.php @@ -116,7 +116,7 @@ class ServiceController extends AbstractActionController $data['thumb'] = json_encode($msg['thumb'],JSON_NUMERIC_CHECK); $dbh = new dbh(); - $id = $dbh->insert('tbl_attachments',$data,true); + $id = $dbh->insert('attachments',$data,true); $msg['attid'] = $id; $msg['error'] = 0; $msg['url'] = $this->config->upload->urlbase . $msg['url'];