Update PullRequestsController.scala
when the forked repository is the original repository(forkedRepository.repository.originRepositoryName&originUserName is None),then 404 will occur,so add the if to solve it.
1 parent a959e18 commit 9b2c3848d9a68c1a84712b5c5431721ec5b11e85
@Bryant Hang Bryant Hang authored on 27 Oct 2015
Showing 1 changed file
View
src/main/scala/gitbucket/core/controller/PullRequestsController.scala