diff options
author | friendica <info@friendica.com> | 2011-11-29 19:52:14 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-11-29 19:52:14 -0800 |
commit | 7474c48022e56bf32cf98271b3f58f211a7692fe (patch) | |
tree | defd8b0b8b0b1e4f96dad1382b4ee082b82199ef /mod/network.php | |
parent | 7b9ba3bb031099158c7cb91f1aeb1b5b63326d2c (diff) | |
download | volse-hubzilla-7474c48022e56bf32cf98271b3f58f211a7692fe.tar.gz volse-hubzilla-7474c48022e56bf32cf98271b3f58f211a7692fe.tar.bz2 volse-hubzilla-7474c48022e56bf32cf98271b3f58f211a7692fe.zip |
add tag to personal
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 3 |
1 files changed, 2 insertions, 1 deletions
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) ); } |