From 7474c48022e56bf32cf98271b3f58f211a7692fe Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 29 Nov 2011 19:52:14 -0800 Subject: add tag to personal --- mod/network.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/network.php') diff --git a/mod/network.php b/mod/network.php index ace67dcfb..8ba736fbe 100644 --- a/mod/network.php +++ b/mod/network.php @@ -374,7 +374,8 @@ 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') ", + $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