diff --git a/module/install/view/step4.html.php b/module/install/view/step4.html.php index d1b0670722..9169626a11 100644 --- a/module/install/view/step4.html.php +++ b/module/install/view/step4.html.php @@ -22,7 +22,7 @@

install->howToUse;?>

upgrade->to15Mode['classic']) ? 'classic' : 'new';?> visions == ',lite,'):?> - install->modeList['classic'];?> + install->modeList['classic']);?>
install->modeList, $systemMode);?>
diff --git a/module/project/control.php b/module/project/control.php index 8b1292bc0a..03a59afece 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -147,6 +147,7 @@ class project extends control $projects = $this->dao->select('id, name')->from(TABLE_PROJECT) ->where('type')->eq('project') ->andWhere('deleted')->eq(0) + ->andWhere('vision')->eq($this->config->vision) ->beginIF(!$this->app->user->admin)->andWhere('id')->in($this->app->user->view->projects)->fi() ->beginIF(trim($data->name))->andWhere('name')->like("%$data->name%")->fi() ->fetchPairs();