Fix fatal on project editing
Summary: I didn't grep carefully enough when renaming this to 'loadProject' in D485. See task. I am terrible at the programmings. Test Plan: Hit the "Edit project" view, grepped more thoroughly. :P Reviewed By: tomo Reviewers: tomo, toulouse, cadamo CC: aran, tomo Differential Revision: 503
This commit is contained in:
@@ -35,7 +35,7 @@ class PhabricatorProjectProfileEditController
|
|||||||
if (!$project) {
|
if (!$project) {
|
||||||
return new Aphront404Response();
|
return new Aphront404Response();
|
||||||
}
|
}
|
||||||
$profile = $project->getProfile();
|
$profile = $project->loadProfile();
|
||||||
} else {
|
} else {
|
||||||
$project = new PhabricatorProject();
|
$project = new PhabricatorProject();
|
||||||
$project->setAuthorPHID($user->getPHID());
|
$project->setAuthorPHID($user->getPHID());
|
||||||
|
|||||||
Reference in New Issue
Block a user