Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15324870
D21662.id51553.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
442 B
Referenced Files
None
Subscribers
None
D21662.id51553.diff
View Options
diff --git a/src/applications/phid/PhabricatorObjectHandle.php b/src/applications/phid/PhabricatorObjectHandle.php
--- a/src/applications/phid/PhabricatorObjectHandle.php
+++ b/src/applications/phid/PhabricatorObjectHandle.php
@@ -402,6 +402,10 @@
}
public function hasCapabilities() {
+ if (!$this->isComplete()) {
+ return false;
+ }
+
return ($this->getType() === PhabricatorPeopleUserPHIDType::TYPECONST);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 8, 2:00 AM (2 w, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7363969
Default Alt Text
D21662.id51553.diff (442 B)
Attached To
Mode
D21662: Don't attempt to test capabilities on incomplete handles
Attached
Detach File
Event Timeline
Log In to Comment