* Adjust product batch editing.

This commit is contained in:
leiyong
2020-09-24 11:21:18 +08:00
parent de47d1a2b2
commit 475c058ee1
6 changed files with 31 additions and 14 deletions
+2 -2
View File
@@ -785,7 +785,7 @@ class programModel extends model
$programID = $programTitle == 'base' ? current($path) : end($path);
if(empty($path) || $programID == $id) continue;
$program = isset($programList[$programID]) ? $programList[$programID] : $this->getPRJParams($programID);
$program = isset($programList[$programID]) ? $programList[$programID] : $this->getPRJPairs($programID);
$programList[$programID] = $program;
$projectList[$id]->name = $program->name . '/' . $projectList[$id]->name;
@@ -817,7 +817,7 @@ class programModel extends model
* @access public
* @return object
*/
public function getPRJParams($projectID = 0, $limit = 0)
public function getPRJPairs($projectID = 0, $limit = 0)
{
if($limit)
{