added spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
64cf909ca2
commit
849e56e3a5
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ function contact_selector($selname, $selclass, $preselected = false, $options) {
|
|||
for ($y = 0; $y < count($x['networks']) ; $y ++) {
|
||||
$x['networks'][$y] = "'" . dbesc($x['networks'][$y]) . "'";
|
||||
}
|
||||
$str_nets = implode(',',$x['networks']);
|
||||
$str_nets = implode(',', $x['networks']);
|
||||
$sql_extra .= " AND `network` IN ( $str_nets ) ";
|
||||
}
|
||||
|
||||
|
@ -277,7 +277,7 @@ function prune_deadguys($arr) {
|
|||
return $arr;
|
||||
}
|
||||
|
||||
$str = dbesc(implode(',',$arr));
|
||||
$str = dbesc(implode(',', $arr));
|
||||
|
||||
$r = q("SELECT `id` FROM `contact` WHERE `id` IN ( " . $str . ") AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0 ");
|
||||
|
||||
|
|
Loading…
Reference in a new issue