1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

Fix error creating repository from file:/// location, due to uninitialized variable.

Summary: This was broken in rP51fb1ca16d7f.

Test Plan: Imported a repository with file:/// location, it worked.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D7636
This commit is contained in:
Brecht Van Lommel 2013-11-23 06:30:37 -08:00 committed by epriestley
parent b87a35c15e
commit 2a65b3020e

View file

@ -581,6 +581,8 @@ final class DiffusionRepositoryCreateController
'credential');
} else if ($proto == 'file') {
$c_credential->setHidden(true);
$provides_type = null;
$page->addRemarkupInstructions(
pht(
'You do not need to configure any credentials for repositories '.