diff --git a/module/block/control.php b/module/block/control.php index 7f2910708f..b0cf555d6a 100755 --- a/module/block/control.php +++ b/module/block/control.php @@ -1762,8 +1762,8 @@ class block extends control if(common::hasPriv('todo', 'view')) $hasViewPriv['todo'] = true; if(common::hasPriv('task', 'view')) $hasViewPriv['task'] = true; if(common::hasPriv('bug', 'view') and $this->config->vision != 'lite') $hasViewPriv['bug'] = true; - if($this->config->URAndSR and common::hasPriv('story', 'view') and $this->config->vision != 'lite') $hasViewPriv['requirement'] = true; if(common::hasPriv('story', 'view') and $this->config->vision != 'lite') $hasViewPriv['story'] = true; + if($this->config->URAndSR and common::hasPriv('story', 'view') and $this->config->vision != 'lite') $hasViewPriv['requirement'] = true; if(common::hasPriv('risk', 'view') and $this->config->edition == 'max' and $this->config->vision != 'lite' && $hasRisk) $hasViewPriv['risk'] = true; if(common::hasPriv('issue', 'view') and $this->config->edition == 'max' and $this->config->vision != 'lite' && $hasIssue) $hasViewPriv['issue'] = true; if(common::hasPriv('meeting', 'view') and $this->config->edition == 'max' and $this->config->vision != 'lite' && $hasMeeting) $hasViewPriv['meeting'] = true; diff --git a/module/build/control.php b/module/build/control.php index df1338d9ab..8588e8610d 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -25,6 +25,8 @@ class build extends control { $project = $this->loadModel('project')->getByID($projectID); if(!$project->hasProduct) $hidden = 'hide'; + + $this->view->multipleProject = $project->multiple; } $this->view->hidden = $hidden; diff --git a/module/build/view/create.html.php b/module/build/view/create.html.php index f70552933e..ae4da00315 100644 --- a/module/build/view/create.html.php +++ b/module/build/view/create.html.php @@ -20,10 +20,14 @@