diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php index f78639d43..749ffa851 100644 --- a/include/zot.php +++ b/include/zot.php @@ -4145,7 +4145,7 @@ function zot_reply_pickup($data) { if(! $x) continue; - if(array_key_exists('message_list',$x)) { + if(is_array($x) && array_key_exists('message_list',$x)) { foreach($x['message_list'] as $xx) { $ret['pickup'][] = array('notify' => json_decode($rr['outq_notify'],true),'message' => $xx); } |