* fix error.

This commit is contained in:
wangyidong
2017-11-03 14:17:58 +08:00
parent 946c799bbc
commit ef1291a06c
7 changed files with 14 additions and 32 deletions
+2 -7
View File
@@ -2139,13 +2139,8 @@ class project extends control
$data = fixer::input('post')->get();
if(common::hasPriv('project', 'kanbanHideCols'))
{
$allCols = array();
if(isset($this->config->project->kanbanSetting->allCols))
{
$allCols = json_decode($this->config->project->kanbanSetting->allCols, true);
}
$allCols[$projectID] = $data->allCols;
$this->setting->setItem("system.project.kanbanSetting.allCols", json_encode($allCols));
$allCols = $data->allCols;
$this->setting->setItem("system.project.kanbanSetting.allCols", $allCols);
}
$account = $this->app->user->account;