From 1d1a62145f3ac926ce8f1fd55ace50789b42cefc Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Wed, 5 Mar 2014 08:58:40 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Application/Controller/ServiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];