Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15424807
D17311.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
619 B
Referenced Files
None
Subscribers
None
D17311.diff
View Options
diff --git a/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php b/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
--- a/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
+++ b/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
@@ -255,6 +255,10 @@
PHUIHeaderView $header) {
$panel = $this->getPanel();
+ if (!$panel) {
+ return $header;
+ }
+
$dashboard_id = $this->getDashboardID();
$edit_uri = id(new PhutilURI(
'/dashboard/panel/edit/'.$panel->getID().'/'));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 24, 12:22 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7684176
Default Alt Text
D17311.diff (619 B)
Attached To
Mode
D17311: Limit damage caused by bad panels on dashboards you can manage
Attached
Detach File
Event Timeline
Log In to Comment