aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-01 15:51:45 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-01 15:51:45 -0800
commitb62614bbd48151837e29ab56a53e683d2f4dcb01 (patch)
tree0766bf0e7d27fb0a4ca7603e7447f4afbd2b1799 /include
parenta8cdbd44e8ab393cf24f2f36746c3382c1e63327 (diff)
downloadvolse-hubzilla-b62614bbd48151837e29ab56a53e683d2f4dcb01.tar.gz
volse-hubzilla-b62614bbd48151837e29ab56a53e683d2f4dcb01.tar.bz2
volse-hubzilla-b62614bbd48151837e29ab56a53e683d2f4dcb01.zip
improve /locs page with some field notes and the ability to do a forced sync
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 0b29146c1..34a527e15 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -675,7 +675,7 @@ function notifier_run($argv, $argc){
dbesc(json_encode($encoded_item))
);
// only create delivery reports for normal undeleted items
- if(array_key_exists('postopts',$target_item) && (! $target_item['item_deleted'])) {
+ if(is_array($target_item) && array_key_exists('postopts',$target_item) && (! $target_item['item_deleted'])) {
q("insert into dreport ( dreport_mid, dreport_site, dreport_recip, dreport_result, dreport_time, dreport_xchan, dreport_queue ) values ( '%s','%s','%s','%s','%s','%s','%s' ) ",
dbesc($target_item['mid']),
dbesc($hub['hubloc_host']),