* fix bug for datatable custom field.

This commit is contained in:
wangyidong
2016-05-05 15:38:10 +08:00
parent 6363622f27
commit 8f945abc41
2 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class datatable extends control
public function ajaxCustom($module, $method)
{
$account = $this->app->user->account;
$name = 'owner=' . $account . '&module=datatable&section=' . $module . $method . '&key=cols';
$name = 'owner=' . $account . '&module=datatable&section=' . $module . ucfirst($method) . '&key=cols';
if($module == 'testtask')
{
$this->loadModel('testcase');