aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-09-15 09:19:55 +0000
committerMario <mario@mariovavti.com>2022-09-15 09:19:55 +0000
commit118a5edebc745fe2760f781c8bb9e9006bf6215f (patch)
treef5162ba06cc2ec32b685fd566b086ed9e52d7b33 /Zotlabs/Daemon
parent1b4333e8d9c37fcf1d0cb9f952009757a2131528 (diff)
downloadvolse-hubzilla-118a5edebc745fe2760f781c8bb9e9006bf6215f.tar.gz
volse-hubzilla-118a5edebc745fe2760f781c8bb9e9006bf6215f.tar.bz2
volse-hubzilla-118a5edebc745fe2760f781c8bb9e9006bf6215f.zip
fix warnings and regressions
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r--Zotlabs/Daemon/Onepoll.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Onepoll.php b/Zotlabs/Daemon/Onepoll.php
index 79fd06df9..f2b5d8c58 100644
--- a/Zotlabs/Daemon/Onepoll.php
+++ b/Zotlabs/Daemon/Onepoll.php
@@ -46,6 +46,7 @@ class Onepoll {
}
$contact = $contacts[0];
+
$importer_uid = $contact['abook_channel'];
$importer = channelx_by_n($importer_uid);
@@ -53,7 +54,7 @@ class Onepoll {
if (!$importer)
return;
- logger("onepoll: poll: ({$contact['id']}) IMPORTER: {$importer['xchan_name']}, CONTACT: {$contact['xchan_name']}");
+ logger("onepoll: poll: ($contact_id) IMPORTER: {$importer['xchan_name']}, CONTACT: {$contact['xchan_name']}");
$last_update = ((($contact['abook_updated'] === $contact['abook_created']) || ($contact['abook_updated'] <= NULL_DATE))
? datetime_convert('UTC', 'UTC', 'now - 7 days')