Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2697913
D25207.1734974117.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
772 B
Referenced Files
None
Subscribers
None
D25207.1734974117.diff
View Options
diff --git a/src/applications/project/controller/PhabricatorProjectMoveController.php b/src/applications/project/controller/PhabricatorProjectMoveController.php
--- a/src/applications/project/controller/PhabricatorProjectMoveController.php
+++ b/src/applications/project/controller/PhabricatorProjectMoveController.php
@@ -24,9 +24,11 @@
$ordering = id(clone $ordering)
->setViewer($viewer);
+ // When the Workboard view is "Group By <something>" the header provides
+ // that context in JSON form
$edit_header = null;
$raw_header = $request->getStr('header');
- if (strlen($raw_header)) {
+ if (phutil_nonempty_string($raw_header)) {
$edit_header = phutil_json_decode($raw_header);
} else {
$edit_header = array();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 17:15 (18 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027122
Default Alt Text
D25207.1734974117.diff (772 B)
Attached To
Mode
D25207: Fix PHP 8.1 "strlen(null)" exception which blocks dragging a task to a Workboard Column
Attached
Detach File
Event Timeline
Log In to Comment