From e9a0d07f3a61a566236c31e74cc87a2d1985f911 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Fri, 13 Aug 2010 05:52:28 -0700 Subject: [PATCH] cleanup --- mod/network.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/network.php b/mod/network.php index b005e8cf36..982c381f2b 100644 --- a/mod/network.php +++ b/mod/network.php @@ -80,8 +80,7 @@ function network_content(&$a, $update = false) { $contacts = expand_groups(array($group)); $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 = '

' . t('Group: ') . $r[0]['name'] . '

' . $o; }