added spaces + curly braces

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 11:38:16 +01:00
parent f3529e7dbc
commit fc9dbc0899
5 changed files with 27 additions and 13 deletions

View file

@ -1188,16 +1188,17 @@ function update_suggestions() {
if(strlen(get_config('system','directory'))) {
$x = fetch_url(get_server()."/pubsites");
if($x) {
if ($x) {
$j = json_decode($x);
if($j->entries) {
if ($j->entries) {
foreach($j->entries as $entry) {
poco_check_server($entry->url);
$url = $entry->url . '/poco';
if(! in_array($url,$done))
if (! in_array($url,$done)) {
poco_load(0,0,0,$entry->url . '/poco');
}
}
}
}