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} -