Page MenuHomePhorge

D25855.1737258365.diff
No OneTemporary

D25855.1737258365.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
Sun, Jan 19, 03:46 (4 d, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1115140
Default Alt Text
D25855.1737258365.diff (300 B)

Event Timeline