Page MenuHomePhabricator

D21662.diff
No OneTemporary

D21662.diff

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

Mime Type
text/plain
Expires
Mon, Dec 23, 7:52 PM (13 h, 48 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6920838
Default Alt Text
D21662.diff (442 B)

Event Timeline