From 849e56e3a55e6dc6be1768d85cc18cea0d609474 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 5 Apr 2017 19:27:34 +0200 Subject: [PATCH] added spaces Signed-off-by: Roland Haeder --- include/acl_selectors.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/acl_selectors.php b/include/acl_selectors.php index 46a49bc7ab..d434085db1 100644 --- a/include/acl_selectors.php +++ b/include/acl_selectors.php @@ -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 "); -- 2.39.5