From a98557a3ccb4d7a654b35cff1b1e902bf4638915 Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Mon, 30 Nov 2020 08:46:59 +0800 Subject: [PATCH] * Modify the variable name. --- module/my/view/execution.html.php | 2 +- module/user/model.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/my/view/execution.html.php b/module/my/view/execution.html.php index 886de55b59..6c8be874e9 100644 --- a/module/my/view/execution.html.php +++ b/module/my/view/execution.html.php @@ -48,7 +48,7 @@ name);?> code;?> project->typeList, $execution->type);?> - createLink('project', 'browse', "id=$execution->project", '', '', $execution->project), $execution->parentName, '', "title='$execution->parentName'");?> + createLink('project', 'browse', "id=$execution->project", '', '', $execution->project), $execution->projectName, '', "title='$execution->projectName'");?> begin;?> end;?> diff --git a/module/user/model.php b/module/user/model.php index 6e7e73aa29..4cd392429c 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -1001,7 +1001,7 @@ class userModel extends model if($delay > 0) $project->delay = $delay; } - if($project->project) $project->parentName = $projectList[$project->project]->name; + if($project->project) $project->projectName = $projectList[$project->project]->name; $myProjects[$project->id] = $project; } }