This commit is contained in:
Mike Macgirvin 2010-08-13 05:52:28 -07:00
parent 485708bd9a
commit e9a0d07f3a
1 changed files with 1 additions and 2 deletions

View File

@ -80,8 +80,7 @@ function network_content(&$a, $update = false) {
$contacts = expand_groups(array($group)); $contacts = expand_groups(array($group));
$contact_str = implode(',',$contacts); $contact_str = implode(',',$contacts);
$sql_extra = dbesc(" AND `item`.`parent` IN ( SELECT `parent` FROM `item` WHERE `id` = `parent` AND `type` IN ('wall', 'photo', 'remote') AND `contact-id` IN ( $contact_str )) "); $sql_extra = " AND `item`.`parent` IN ( SELECT `parent` FROM `item` WHERE `id` = `parent` AND `type` IN ('wall', 'photo', 'remote') AND `contact-id` IN ( $contact_str )) ";
$o = '<h4>' . t('Group: ') . $r[0]['name'] . '</h4>' . $o; $o = '<h4>' . t('Group: ') . $r[0]['name'] . '</h4>' . $o;
} }