Page MenuHomePhabricator

D17349.id41722.diff
No OneTemporary

D17349.id41722.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
@@ -143,7 +143,7 @@
->applyTransactions($panel, $xactions);
// If we're creating a panel directly on a dashboard, add it now.
- if ($dashboard) {
+ if ($dashboard && $is_create) {
PhabricatorDashboardTransactionEditor::addPanelToDashboard(
$viewer,
PhabricatorContentSource::newFromRequest($request),

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 22, 3:15 PM (10 h, 29 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7031557
Default Alt Text
D17349.id41722.diff (730 B)

Event Timeline