Page MenuHomePhorge

D25855.1734582589.diff
No OneTemporary

D25855.1734582589.diff

diff --git a/src/parser/PhutilJSON.php b/src/parser/PhutilJSON.php
--- a/src/parser/PhutilJSON.php
+++ b/src/parser/PhutilJSON.php
@@ -51,7 +51,7 @@
$object = (array)$object;
}
- if (empty($object)) {
+ if (empty($object) || !is_iterable($object)) {
return '{}';
}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 04:29 (18 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015003
Default Alt Text
D25855.1734582589.diff (300 B)

Event Timeline