Page MenuHomePhabricator

D10557.diff
No OneTemporary

D10557.diff

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

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)

Event Timeline