aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Web
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-12 11:25:44 +0000
committerMario <mario@mariovavti.com>2021-10-12 11:25:44 +0000
commit3e503ec3a35e4226a566c1986bf570afc7c8a53f (patch)
tree36ac7c4941af669010e7684f77324be24b610bee /Zotlabs/Web
parente455fae334c4b5f8d5a563e099add1482749c92f (diff)
downloadvolse-hubzilla-3e503ec3a35e4226a566c1986bf570afc7c8a53f.tar.gz
volse-hubzilla-3e503ec3a35e4226a566c1986bf570afc7c8a53f.tar.bz2
volse-hubzilla-3e503ec3a35e4226a566c1986bf570afc7c8a53f.zip
Revert "httpsig: add parentheses"
This reverts commit e455fae334c4b5f8d5a563e099add1482749c92f.
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r--Zotlabs/Web/HTTPSig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Web/HTTPSig.php b/Zotlabs/Web/HTTPSig.php
index ad10fa182..5aa1e1913 100644
--- a/Zotlabs/Web/HTTPSig.php
+++ b/Zotlabs/Web/HTTPSig.php
@@ -323,7 +323,7 @@ class HTTPSig {
static function get_webfinger_key($id, $force = false) {
if (!$force) {
- $x = q("select * from xchan left join hubloc on xchan_hash = hubloc_hash where (hubloc_addr = '%s' or hubloc_id_url = '%s') and hubloc_network in ('zot6', 'activitypub') order by hubloc_id desc",
+ $x = q("select * from xchan left join hubloc on xchan_hash = hubloc_hash where hubloc_addr = '%s' or hubloc_id_url = '%s' and hubloc_network in ('zot6', 'activitypub') order by hubloc_id desc",
dbesc(str_replace('acct:', '', $id)),
dbesc($id)
);
@@ -370,7 +370,7 @@ class HTTPSig {
static function get_zotfinger_key($id, $force = false) {
if (!$force) {
- $x = q("select * from xchan left join hubloc on xchan_hash = hubloc_hash where (hubloc_addr = '%s' or hubloc_id_url = '%s') and hubloc_network = 'zot6' order by hubloc_id desc",
+ $x = q("select * from xchan left join hubloc on xchan_hash = hubloc_hash where hubloc_addr = '%s' or hubloc_id_url = '%s' and hubloc_network = 'zot6' order by hubloc_id desc",
dbesc(str_replace('acct:', '', $id)),
dbesc($id)
);