mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
Fix fatal when looking at an unknown-config error.
Summary: Going to /config/issue/config.unknown.phabricator.setup/ fataled with Call to a member function getLocked() on a non-object Test Plan: Went to /config/issue/config.unknown.phabricator.setup/ and saw the page render. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4633
This commit is contained in:
parent
2584af2cb8
commit
184be964a2
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ final class PhabricatorSetupIssueView extends AphrontView {
|
||||||
} else {
|
} else {
|
||||||
$update = array();
|
$update = array();
|
||||||
foreach ($configs as $config) {
|
foreach ($configs as $config) {
|
||||||
if ($options[$config]->getLocked()) {
|
if (!idx($options, $config) || $options[$config]->getLocked()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$link = phutil_render_tag(
|
$link = phutil_render_tag(
|
||||||
|
|
Loading…
Reference in a new issue