use url part of array
This commit is contained in:
parent
9cb10b8a94
commit
18f8fcf9e7
@ -342,7 +342,7 @@ function update_suggestions() {
|
|||||||
$j = json_decode($ret['body'],true);
|
$j = json_decode($ret['body'],true);
|
||||||
if($j && $j['success']) {
|
if($j && $j['success']) {
|
||||||
foreach($j['entries'] as $host) {
|
foreach($j['entries'] as $host) {
|
||||||
poco_load('',$host . '/poco');
|
poco_load('',$host['url'] . '/poco');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user