mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
Minor, fix an error when looking at a new, unparsed repository.
This commit is contained in:
parent
7e9a2dc4d2
commit
160ec660b0
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ abstract class DiffusionQuery {
|
||||||
$repository = $drequest->getRepository();
|
$repository = $drequest->getRepository();
|
||||||
$commits = self::loadCommitsByIdentifiers($identifiers);
|
$commits = self::loadCommitsByIdentifiers($identifiers);
|
||||||
|
|
||||||
|
if (!$commits) {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
$path = $drequest->getPath();
|
$path = $drequest->getPath();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue