Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F5422227
D488.id1185.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
400 B
Referenced Files
None
Subscribers
None
D488.id1185.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
@@ -186,6 +186,10 @@
[ 'phids[0]' => $objectPHID ]
);
+ if ($reply === []) {
+ return [];
+ }
+
return PhabricatorAPI::getFirstResult($reply)->projectPHIDs;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 10, 18:15 (6 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2471329
Default Alt Text
D488.id1185.diff (400 B)
Attached To
Mode
D488: Fix getItemProjectsPHIDs null exception
Attached
Detach File
Event Timeline
Log In to Comment