diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-01 15:51:45 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-01 15:51:45 -0800 |
commit | b62614bbd48151837e29ab56a53e683d2f4dcb01 (patch) | |
tree | 0766bf0e7d27fb0a4ca7603e7447f4afbd2b1799 /include/notifier.php | |
parent | a8cdbd44e8ab393cf24f2f36746c3382c1e63327 (diff) | |
download | volse-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/notifier.php')
-rw-r--r-- | include/notifier.php | 2 |
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']), |