missing paren

This commit is contained in:
friendica 2011-11-29 19:53:18 -08:00
parent 7474c48022
commit 84e197cde9
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ function network_content(&$a, $update = 0) {
$myurl = $a->get_baseurl() . '/profile/'. $a->user['nickname'];
$myurl = substr($myurl,strpos($myurl,'://')+3);
$myurl = str_replace('www.','',$myurl);
$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where ( `author-link` regexp '%s' or `tag` regexp '%s' ) ",
$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where ( `author-link` regexp '%s' or `tag` regexp '%s' )) ",
dbesc($myurl),
dbesc($myurl)
);