aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-15 17:50:14 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-15 17:50:14 -0800
commit8514789da9e37899f54a46fc1231e7c5d114e9ce (patch)
tree69080312dd89a311c6294d84dddde7808ba80710 /include
parent20dcf37976ee269adcb2c004c5f612d8509b7f11 (diff)
downloadvolse-hubzilla-8514789da9e37899f54a46fc1231e7c5d114e9ce.tar.gz
volse-hubzilla-8514789da9e37899f54a46fc1231e7c5d114e9ce.tar.bz2
volse-hubzilla-8514789da9e37899f54a46fc1231e7c5d114e9ce.zip
additional fix for the array_key_exists message in #221
Diffstat (limited to 'include')
-rw-r--r--include/zot.php2
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);
}