* Change variable name.
This commit is contained in:
+2
-2
@@ -188,7 +188,7 @@ class taskZen extends task
|
||||
}
|
||||
|
||||
/* Check if the request data size exceeds the PHP limit. */
|
||||
$tasks = $this->task->getByIdList($this->post->taskIDList);
|
||||
$tasks = $this->task->getByIdList($this->post->taskIdList);
|
||||
$countInputVars = count($tasks) * (count(explode(',', $this->config->task->custom->batchEditFields)) + 3);
|
||||
$showSuhosinInfo = common::judgeSuhosinSetting($countInputVars);
|
||||
if($showSuhosinInfo) $this->view->suhosinInfo = extension_loaded('suhosin') ? sprintf($this->lang->suhosinInfo, $countInputVars) : sprintf($this->lang->maxVarsInfo, $countInputVars);
|
||||
@@ -558,7 +558,7 @@ class taskZen extends task
|
||||
protected function buildTasksForBatchEdit(): false|array
|
||||
{
|
||||
$taskData = form::batchData()->get();
|
||||
$oldTasks = $this->post->taskIDList ? $this->task->getByIdList($this->post->taskIDList) : array();
|
||||
$oldTasks = $this->post->taskIdList ? $this->task->getByIdList($this->post->taskIdList) : array();
|
||||
$now = helper::now();
|
||||
foreach($taskData as $taskID => $task)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user