* Fix project batch editing problem.

This commit is contained in:
tianshujie98
2021-03-12 09:02:41 +08:00
parent 8f90591d45
commit 0afece207e
8 changed files with 244 additions and 857 deletions
+2 -2
View File
@@ -948,9 +948,9 @@ class projectModel extends model
foreach($data->projectIdList as $projectID)
{
$projectName = $data->names[$projectID];
$projectID = (int)$projectID;
$projectName = $data->names[$projectID];
$projectID = (int)$projectID;
$projects[$projectID] = new stdClass();
$projects[$projectID]->name = $projectName;
$projects[$projectID]->parent = $data->parents[$projectID];