Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F7114618
D622.id1542.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
402 B
Referenced Files
None
Subscribers
None
D622.id1542.diff
View Options
diff --git a/app/Phabricator/PhabricatorStory.php b/app/Phabricator/PhabricatorStory.php
--- a/app/Phabricator/PhabricatorStory.php
+++ b/app/Phabricator/PhabricatorStory.php
@@ -173,6 +173,10 @@
[ 'phids[0]' => $objectPHID ]
);
+ if ($reply === []) {
+ return "";
+ }
+
return PhabricatorAPI::getFirstResult($reply)->repositoryPHID;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 21, 22:48 (15 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2589342
Default Alt Text
D622.id1542.diff (402 B)
Attached To
Mode
D622: Fix PhabricatorStory::getRepositoryPHID null exception
Attached
Detach File
Event Timeline
Log In to Comment