aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-06-04 08:09:15 +0200
committerMichael Vogel <icarus@dabo.de>2012-06-04 08:09:15 +0200
commit0353410cd4b8153fd2b6e9d3524c6e46ad4acd68 (patch)
treee93cc7977a7367eb6281c733d9a34730dae3bf95 /include/api.php
parent5de91c2a7c924ac6067828a0e5bfbef5572c1f39 (diff)
parentca105f1c669950768a1f4cd6b93f471cabbc5114 (diff)
downloadvolse-hubzilla-0353410cd4b8153fd2b6e9d3524c6e46ad4acd68.tar.gz
volse-hubzilla-0353410cd4b8153fd2b6e9d3524c6e46ad4acd68.tar.bz2
volse-hubzilla-0353410cd4b8153fd2b6e9d3524c6e46ad4acd68.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/api.php b/include/api.php
index cd8526f89..9925b5766 100644
--- a/include/api.php
+++ b/include/api.php
@@ -997,8 +997,8 @@
else
$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('%' . $myurl)),
- dbesc(protect_sprintf('%' . $myurl . '\\]%')),
- dbesc(protect_sprintf('%' . $diasp_url . '\\]%'))
+ dbesc(protect_sprintf('%' . $myurl . ']%')),
+ dbesc(protect_sprintf('%' . $diasp_url . ']%'))
);
if ($max_id > 0)