Page MenuHomePhorge

D25855.1737176439.diff
No OneTemporary

D25855.1737176439.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, Jan 18, 05:00 (5 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1115140
Default Alt Text
D25855.1737176439.diff (300 B)

Event Timeline