From ca41001014505103d41c43c908190ed884fa0ffa Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Wed, 21 Apr 2021 09:05:50 +0800 Subject: [PATCH] * Fix bug #12260. --- module/project/control.php | 2 +- module/project/view/createguide.html.php | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/module/project/control.php b/module/project/control.php index b492c3e6e1..f2e656dde3 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -293,7 +293,7 @@ class project extends control } } - if($programID) $this->loadModel('program')->setMenu($programID); + if($this->app->openApp == 'program') $this->loadModel('program')->setMenu($programID); $name = ''; $code = ''; diff --git a/module/project/view/createguide.html.php b/module/project/view/createguide.html.php index 56511a3d7f..db2a858226 100644 --- a/module/project/view/createguide.html.php +++ b/module/project/view/createguide.html.php @@ -10,7 +10,6 @@ #guideDialog .project-type-img:hover {border-color: #006AF1; box-shadow: 0 0 10px 0 rgba(0,0,0,.25);} #guideDialog .project-type.active img {border-color: #006AF1; border-width: 2px; margin-top: 0} -