additional fix for the array_key_exists message in #221
This commit is contained in:
parent
20dcf37976
commit
8514789da9
@ -4145,7 +4145,7 @@ function zot_reply_pickup($data) {
|
|||||||
if(! $x)
|
if(! $x)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if(array_key_exists('message_list',$x)) {
|
if(is_array($x) && array_key_exists('message_list',$x)) {
|
||||||
foreach($x['message_list'] as $xx) {
|
foreach($x['message_list'] as $xx) {
|
||||||
$ret['pickup'][] = array('notify' => json_decode($rr['outq_notify'],true),'message' => $xx);
|
$ret['pickup'][] = array('notify' => json_decode($rr['outq_notify'],true),'message' => $xx);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user