From 84e197cde9f5f43a7c882219e4022f73e1dcf83e Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 29 Nov 2011 19:53:18 -0800 Subject: missing paren --- mod/network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/network.php b/mod/network.php index 8ba736fbe..253fbac44 100644 --- a/mod/network.php +++ b/mod/network.php @@ -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) ); -- cgit v1.2.3