* Change variable name.

This commit is contained in:
caoyanyi
2023-05-30 15:04:57 +08:00
parent 81616f1616
commit 9c030a72fe
3 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -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)
{