Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13279723
D7401.id16672.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
734 B
Referenced Files
None
Subscribers
None
D7401.id16672.diff
View Options
Index: src/applications/maniphest/controller/ManiphestTaskEditController.php
===================================================================
--- src/applications/maniphest/controller/ManiphestTaskEditController.php
+++ src/applications/maniphest/controller/ManiphestTaskEditController.php
@@ -103,6 +103,12 @@
$assign_user = id(new PhabricatorUser())->loadOneWhere(
'username = %s',
$assign);
+ if (!$assign_user) {
+ $assign_user = id(new PhabricatorUser())->loadOneWhere(
+ 'phid = %s',
+ $assign);
+ }
+
if ($assign_user) {
$task->setOwnerPHID($assign_user->getPHID());
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 2 2024, 11:05 PM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6320566
Default Alt Text
D7401.id16672.diff (734 B)
Attached To
Mode
D7401: Allow prefilling a task's assignee by his PHID
Attached
Detach File
Event Timeline
Log In to Comment