Page MenuHomePhorge

D25855.1734761060.diff
No OneTemporary

D25855.1734761060.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
Sat, Dec 21, 06:04 (17 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024016
Default Alt Text
D25855.1734761060.diff (300 B)

Event Timeline