mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
bare naked linefeed \n crept into SQL
This commit is contained in:
parent
3d7bb9c37c
commit
1f2f483531
2 changed files with 1 additions and 24 deletions
|
@ -81,10 +81,8 @@ 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 `contact-id` IN ( $contact_str )) ");
|
||||
$sql_extra = dbesc(" AND `item`.`parent` IN ( SELECT `parent` FROM `item` WHERE `id` = `parent` AND `contact-id` IN ( $contact_str )) ");
|
||||
|
||||
$sql_extra = dbesc(" AND `contact`.`id` IN ( $contact_str ) ");
|
||||
$o = '<h4>' . t('Group: ') . $r[0]['name'] . '</h4>' . $o;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue