Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14705863
D10557.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
510 B
Referenced Files
None
Subscribers
None
D10557.diff
View Options
diff --git a/src/applications/drydock/util/DrydockCustomAttributes.php b/src/applications/drydock/util/DrydockCustomAttributes.php
--- a/src/applications/drydock/util/DrydockCustomAttributes.php
+++ b/src/applications/drydock/util/DrydockCustomAttributes.php
@@ -3,6 +3,10 @@
final class DrydockCustomAttributes extends Phobject {
public static function parse($text) {
+ if (trim($text) === '') {
+ return array();
+ }
+
$pairs = phutil_split_lines($text);
$attributes = array();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 17, 8:48 PM (19 h, 55 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6999179
Default Alt Text
D10557.diff (510 B)
Attached To
Mode
D10557: Fix custom blueprint attributes to work when no attributes are specified
Attached
Detach File
Event Timeline
Log In to Comment