Page MenuHomePhabricator

D11469.id27565.diff
No OneTemporary

D11469.id27565.diff

diff --git a/src/applications/diviner/atomizer/DivinerPHPAtomizer.php b/src/applications/diviner/atomizer/DivinerPHPAtomizer.php
--- a/src/applications/diviner/atomizer/DivinerPHPAtomizer.php
+++ b/src/applications/diviner/atomizer/DivinerPHPAtomizer.php
@@ -293,7 +293,7 @@
'this implicitly.');
}
} else if ($return) {
- $split = preg_split('/\s+/', trim($return), $limit = 2);
+ $split = preg_split('/(?<!,)\s+/', trim($return), $limit = 2);
if (!empty($split[0])) {
$type = $split[0];
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 6:31 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716674
Default Alt Text
D11469.id27565.diff (547 B)

Event Timeline