From 8514789da9e37899f54a46fc1231e7c5d114e9ce Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 15 Dec 2015 17:50:14 -0800 Subject: additional fix for the array_key_exists message in #221 --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); } -- cgit v1.2.3