aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-09 13:05:31 +0000
committerMario <mario@mariovavti.com>2021-01-09 14:25:41 +0100
commit64f802d4f6b1c6b1b444bb5d71795c9e3580efee (patch)
treeec8755f6c24e30c301b0ffd5ee1e7c0f82b749d6
parent42cd046e9055e74edcb6539a9c4d5a2cf735a5ca (diff)
downloadvolse-hubzilla-64f802d4f6b1c6b1b444bb5d71795c9e3580efee.tar.gz
volse-hubzilla-64f802d4f6b1c6b1b444bb5d71795c9e3580efee.tar.bz2
volse-hubzilla-64f802d4f6b1c6b1b444bb5d71795c9e3580efee.zip
fix error in sql query
(cherry picked from commit 0e2af403298599737b41a44a0b6b3e0a1204b108)
-rw-r--r--Zotlabs/Module/Owa.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Owa.php b/Zotlabs/Module/Owa.php
index d6aeb8af5..9a3513f34 100644
--- a/Zotlabs/Module/Owa.php
+++ b/Zotlabs/Module/Owa.php
@@ -39,7 +39,7 @@ class Owa extends Controller {
$found = discover_by_webbie(str_replace('acct:','',$keyId));
if ($found) {
$r = q("SELECT * FROM hubloc LEFT JOIN xchan ON hubloc_hash = xchan_hash
- WHERE OR hubloc_id_url = '%s'",
+ WHERE hubloc_id_url = '%s'",
dbesc($keyId)
);
}