Page MenuHomePhorge

D25855.1737346049.diff
No OneTemporary

D25855.1737346049.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
Mon, Jan 20, 04:07 (3 d, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1115140
Default Alt Text
D25855.1737346049.diff (300 B)

Event Timeline