Page MenuHomePhabricator

D9629.diff
No OneTemporary

D9629.diff

diff --git a/src/applications/dashboard/controller/PhabricatorDashboardPanelEditController.php b/src/applications/dashboard/controller/PhabricatorDashboardPanelEditController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardPanelEditController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardPanelEditController.php
@@ -196,7 +196,11 @@
// NOTE: We're setting the submit URI explicitly because we need to edit
// a different panel if we just cloned the original panel.
- $submit_uri = $this->getApplicationURI('panel/edit/'.$panel->getID().'/');
+ if ($is_create) {
+ $submit_uri = $this->getApplicationURI('panel/edit/');
+ } else {
+ $submit_uri = $this->getApplicationURI('panel/edit/'.$panel->getID().'/');
+ }
$policies = id(new PhabricatorPolicyQuery())
->setViewer($viewer)

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 4, 10:17 AM (2 w, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733808
Default Alt Text
D9629.diff (869 B)

Event Timeline