Page MenuHomePhabricator

D17897.id43041.diff
No OneTemporary

D17897.id43041.diff

diff --git a/src/applications/base/controller/PhabricatorController.php b/src/applications/base/controller/PhabricatorController.php
--- a/src/applications/base/controller/PhabricatorController.php
+++ b/src/applications/base/controller/PhabricatorController.php
@@ -471,7 +471,7 @@
->setViewer($this->getViewer());
}
- public function newCurtainView($object) {
+ public function newCurtainView($object = null) {
$viewer = $this->getViewer();
$action_id = celerity_generate_unique_node_id();
diff --git a/src/applications/project/controller/PhabricatorProjectMembersViewController.php b/src/applications/project/controller/PhabricatorProjectMembersViewController.php
--- a/src/applications/project/controller/PhabricatorProjectMembersViewController.php
+++ b/src/applications/project/controller/PhabricatorProjectMembersViewController.php
@@ -68,7 +68,7 @@
$viewer = $this->getViewer();
$id = $project->getID();
- $curtain = $this->newCurtainView($project);
+ $curtain = $this->newCurtainView();
$is_locked = $project->getIsMembershipLocked();
diff --git a/src/applications/project/controller/PhabricatorProjectSubprojectsController.php b/src/applications/project/controller/PhabricatorProjectSubprojectsController.php
--- a/src/applications/project/controller/PhabricatorProjectSubprojectsController.php
+++ b/src/applications/project/controller/PhabricatorProjectSubprojectsController.php
@@ -203,7 +203,7 @@
$allows_milestones = $project->supportsMilestones();
$allows_subprojects = $project->supportsSubprojects();
- $curtain = $this->newCurtainView($project);
+ $curtain = $this->newCurtainView();
if ($allows_milestones && $milestones) {
$milestone_text = pht('Create Next Milestone');

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 11, 1:11 PM (1 d, 15 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6752655
Default Alt Text
D17897.id43041.diff (1 KB)

Event Timeline