mirror of
https://github.com/nidebr/as-stats-gui.git
synced 2025-02-20 11:23:18 +08:00
fix array in function GetIXASN on peeringdb.php
This commit is contained in:
parent
ba4a9ea7af
commit
23fa0de20f
@ -79,7 +79,7 @@ class PeeringDB {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function GetIXASN($id = NULL) {
|
public function GetIXASN($id = NULL) {
|
||||||
$return = "";
|
$return = array();
|
||||||
if ( $id ) {
|
if ( $id ) {
|
||||||
foreach ($this->GetIXMembers($id) as $key => $value) {
|
foreach ($this->GetIXMembers($id) as $key => $value) {
|
||||||
$return[] = $value->asn;
|
$return[] = $value->asn;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user