* code for task#1562.

* refactory the batchEdit of task and bug.
This commit is contained in:
chencongzhi520@gmail.com
2013-07-12 01:28:54 +00:00
parent e52cecbf85
commit d4ce0f265e
6 changed files with 54 additions and 48 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ class task extends control
/* Judge whether the editedTasks is too large and set session. */
$showSuhosinInfo = false;
$showSuhosinInfo = $this->loadModel('common')->judgeSuhosinSetting(count($tasks), $this->config->task->batchEdit);
$showSuhosinInfo = $this->loadModel('common')->judgeSuhosinSetting(count($tasks), $this->config->task->batchEdit->columns);
$this->app->session->set('showSuhosinInfo', $showSuhosinInfo);
if($showSuhosinInfo) $this->view->suhosinInfo = $this->lang->suhosinInfo;