Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2943330
D25189.1738180961.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
679 B
Referenced Files
None
Subscribers
None
D25189.1738180961.diff
View Options
diff --git a/src/applications/dashboard/controller/panel/PhabricatorDashboardPanelEditController.php b/src/applications/dashboard/controller/panel/PhabricatorDashboardPanelEditController.php
--- a/src/applications/dashboard/controller/panel/PhabricatorDashboardPanelEditController.php
+++ b/src/applications/dashboard/controller/panel/PhabricatorDashboardPanelEditController.php
@@ -15,7 +15,7 @@
// editing.
$context_phid = $request->getStr('contextPHID');
- if (strlen($context_phid)) {
+ if (phutil_nonempty_string($context_phid)) {
$context = id(new PhabricatorObjectQuery())
->setViewer($viewer)
->withPHIDs(array($context_phid))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 29, 20:02 (3 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1149795
Default Alt Text
D25189.1738180961.diff (679 B)
Attached To
Mode
D25189: Fix PHP 8.1 "strlen(null)" exception which blocks editing a Dashboard Tab Panel
Attached
Detach File
Event Timeline
Log In to Comment