aboutsummaryrefslogtreecommitdiffstats
path: root/mod/xchan.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2014-02-06 14:56:59 +0100
committermarijus <mario@localhost.localdomain>2014-02-06 14:56:59 +0100
commita2b311991a90e1c78d30bad5504c18bb2a3c5c2a (patch)
tree54b5e5dbc7230442a3e1ec894c4a4c385b2d78c7 /mod/xchan.php
parent419e3b5024efec40c98e48c3bf213c4e60d39fae (diff)
parent7a522be20bd66a0a904dcddf33d53e59aa04a92d (diff)
downloadvolse-hubzilla-a2b311991a90e1c78d30bad5504c18bb2a3c5c2a.tar.gz
volse-hubzilla-a2b311991a90e1c78d30bad5504c18bb2a3c5c2a.tar.bz2
volse-hubzilla-a2b311991a90e1c78d30bad5504c18bb2a3c5c2a.zip
Merge branch 'master' of https://github.com/friendica/red into upstream
Diffstat (limited to 'mod/xchan.php')
-rw-r--r--mod/xchan.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/xchan.php b/mod/xchan.php
index 984a62f95..9d4cdcc22 100644
--- a/mod/xchan.php
+++ b/mod/xchan.php
@@ -14,9 +14,11 @@ function xchan_content(&$a) {
if(x($_GET,'addr')) {
$addr = trim($_GET['addr']);
+
$r = q("select xchan_name from xchan where xchan_hash like '%s%%'",
- dbesc(addr)
+ dbesc($addr)
);
+
if($r) {
foreach($r as $rr)
$o .= $rr['xchan_name'] . EOL;