1
0
Fork 0
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:
epriestley 2012-04-28 16:37:41 -07:00
parent 7e9a2dc4d2
commit 160ec660b0

View file

@ -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();