From 29a97c50e3397bf6eb18508e965e955f77cbe74a Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 10 Apr 2013 22:17:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3M=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base.php b/base.php index f773da3e..3358d592 100644 --- a/base.php +++ b/base.php @@ -80,7 +80,7 @@ function G($label) { * @return Model */ function M($name='', $tablePrefix='',$connection='') { - return Think\Loader::table($name,$tablePrefix,$connection); + return Think\Loader::table($name,['table_prefix'=>$tablePrefix,'connection'=>$connection]); } /**