diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-04-12 17:50:39 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-04-12 17:50:39 +0200 |
commit | aa06400a50122dc7a8472e4c6144ac8ba6cbcc51 (patch) | |
tree | 4df0c31b54a1b54594764dce1b5fce5a675e21ea /Zotlabs/Lib/Libzotdir.php | |
parent | 0d3b389538fe25a2cb6cc15fe5a44dd244ee6428 (diff) | |
download | volse-hubzilla-aa06400a50122dc7a8472e4c6144ac8ba6cbcc51.tar.gz volse-hubzilla-aa06400a50122dc7a8472e4c6144ac8ba6cbcc51.tar.bz2 volse-hubzilla-aa06400a50122dc7a8472e4c6144ac8ba6cbcc51.zip |
deprecate flags and transaction_id and only return results which are currently updated
Diffstat (limited to 'Zotlabs/Lib/Libzotdir.php')
-rw-r--r-- | Zotlabs/Lib/Libzotdir.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php index b27f87a5f..3b66a42c6 100644 --- a/Zotlabs/Lib/Libzotdir.php +++ b/Zotlabs/Lib/Libzotdir.php @@ -288,7 +288,7 @@ class Libzotdir { q("insert into updates ( ud_hash, ud_guid, ud_date, ud_addr, ud_flags ) values ( '%s', '%s', '%s', '%s', 1 ) ", dbesc($t['hash']), - dbesc($t['transaction_id']), + dbesc($t['host'] ?? $t['transaction_id']), // 2023-04-12 transaction_id is deprecated dbesc($t['timestamp']), dbesc($t['address']) ); |