Signed-off-by: Roland Haeder <roland@mxchange.org>
pull/3287/head
Roland Haeder 2017-04-05 19:27:34 +02:00
rodzic 64cf909ca2
commit 849e56e3a5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B72F8185C6C7BD78
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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 ");