Fixed archive
This commit is contained in:
parent
1ce0b4880e
commit
18ac9fadaf
12 changed files with 93 additions and 66 deletions
|
|
@ -111,7 +111,7 @@ class ProjectController extends PHPCensor\Controller
|
|||
$branch = $project->getBranch();
|
||||
}
|
||||
|
||||
if (empty($project)) {
|
||||
if (empty($project) || $project->getArchived()) {
|
||||
throw new NotFoundException(Lang::get('project_x_not_found', $projectId));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue