diff options
author | friendica <info@friendica.com> | 2013-12-05 19:07:59 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-05 19:07:59 -0800 |
commit | 1c3c3c64bc5811d91521eaaba4c2bd5fce21ebcb (patch) | |
tree | dd2a5cfd38e136dc55323e0601e2c85f7f16f2aa | |
parent | 38577cf26cc241245731f786704ac773bfc52952 (diff) | |
download | volse-hubzilla-1c3c3c64bc5811d91521eaaba4c2bd5fce21ebcb.tar.gz volse-hubzilla-1c3c3c64bc5811d91521eaaba4c2bd5fce21ebcb.tar.bz2 volse-hubzilla-1c3c3c64bc5811d91521eaaba4c2bd5fce21ebcb.zip |
issue #224
-rw-r--r-- | mod/network.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php index 6c0b84873..cf157fad6 100644 --- a/mod/network.php +++ b/mod/network.php @@ -477,6 +477,12 @@ function network_content(&$a, $update = 0, $load = false) { $sql_extra = " AND item.parent IN ( SELECT DISTINCT parent FROM item WHERE true $sql_options AND (( author_xchan IN ( $contact_str ) OR owner_xchan in ( $contact_str )) or allow_gid like '" . protect_sprintf('%<' . dbesc($group_hash) . '>%') . "' ) and id = parent and item_restrict = 0 ) "; + $x = group_rec_byhash(local_user(), $group_hash); + + if($x) + $o = '<h2>' . t('Collection: ') . $x['name'] . '</h2>' . $o; + + } elseif($cid) { |