improve /locs page with some field notes and the ability to do a forced sync
This commit is contained in:
@@ -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']),
|
||||
|
||||
Reference in New Issue
Block a user