Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14347928
D16358.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
987 B
Referenced Files
None
Subscribers
None
D16358.diff
View Options
diff --git a/src/applications/harbormaster/conduit/HarbormasterQueryBuildsConduitAPIMethod.php b/src/applications/harbormaster/conduit/HarbormasterQueryBuildsConduitAPIMethod.php
--- a/src/applications/harbormaster/conduit/HarbormasterQueryBuildsConduitAPIMethod.php
+++ b/src/applications/harbormaster/conduit/HarbormasterQueryBuildsConduitAPIMethod.php
@@ -56,10 +56,13 @@
$subsumption = $call->setUser($viewer)
->execute();
- $data = [];
+ $data = array();
foreach ($subsumption['data'] as $build_data) {
- $querybuilds = idxv($build_data, array('attachments', 'querybuilds'), []);
- $fields = idx($build_data, 'fields', []);
+ $querybuilds = idxv(
+ $build_data,
+ array('attachments', 'querybuilds'),
+ array());
+ $fields = idx($build_data, 'fields', array());
unset($build_data['fields']);
unset($build_data['attachments']);
$data[] = array_mergev(array($build_data, $querybuilds, $fields));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 4:03 AM (18 h, 45 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6909467
Default Alt Text
D16358.diff (987 B)
Attached To
Mode
D16358: Use long array syntax for compatibility instead of short array syntax
Attached
Detach File
Event Timeline
Log In to Comment