aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-05-20 00:11:32 +0200
committerMichael Vogel <icarus@dabo.de>2012-05-20 00:11:32 +0200
commit8c80fe0bf51fa472ddf9bf225490e47ea1bf4a7f (patch)
tree7068762df3646f652bffefa767fa8a7757f8468d /mod/network.php
parent9a940786c18c1c2bd772aec93f1828f67dc45667 (diff)
downloadvolse-hubzilla-8c80fe0bf51fa472ddf9bf225490e47ea1bf4a7f.tar.gz
volse-hubzilla-8c80fe0bf51fa472ddf9bf225490e47ea1bf4a7f.tar.bz2
volse-hubzilla-8c80fe0bf51fa472ddf9bf225490e47ea1bf4a7f.zip
Performance tests
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php
index e59839ccc..c5347756c 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -413,7 +413,7 @@ function network_content(&$a, $update = 0) {
$myurl = str_replace(array('www.','.'),array('','\\.'),$myurl);
$diasp_url = str_replace('/profile/','/u/',$myurl);
$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where ( `author-link` like '%s' or `tag` like '%s' or tag like '%s' )) ",
- dbesc(protect_sprintf('%s' . $myurl)),
+ dbesc(protect_sprintf('%' . $myurl)),
dbesc(protect_sprintf('%' . $myurl . '\\]%')),
dbesc(protect_sprintf('%' . $diasp_url . '\\]%'))
);