aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-04 08:32:36 +0000
committerMario <mario@mariovavti.com>2021-10-04 08:32:36 +0000
commit53138f4b09e8087cb6af4ae5294664bdf677d053 (patch)
tree3d942b6457fb1e33a6068dd590137ee9abb11ec9
parent3d71367f30e44996a7e733581bebdab9839a27b3 (diff)
downloadvolse-hubzilla-53138f4b09e8087cb6af4ae5294664bdf677d053.tar.gz
volse-hubzilla-53138f4b09e8087cb6af4ae5294664bdf677d053.tar.bz2
volse-hubzilla-53138f4b09e8087cb6af4ae5294664bdf677d053.zip
fix typo
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 34158abac..200a2c486 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -266,7 +266,7 @@ class Libzot {
dbesc($them['xchan_addr'])
);
}
- if (!$r && array_key_exists('xchan_hash', $them) && $them['xchan_hash') {
+ if (!$r && array_key_exists('xchan_hash', $them) && $them['xchan_hash']) {
$r = q("select hubloc_id_url, hubloc_primary from hubloc where hubloc_hash = '%s' order by hubloc_id desc",
dbesc($them['xchan_hash'])
);