Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F54830603
D488.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
400 B
Referenced Files
None
Subscribers
None
D488.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
Sun, Oct 25, 04:57 (11 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4214756
Default Alt Text
D488.diff (400 B)
Attached To
Mode
D488: Fix getItemProjectsPHIDs null exception
Attached
Detach File
Event Timeline
Log In to Comment