From 64a81a9d3bd0581c9695f0e2a8761a58b07c639b Mon Sep 17 00:00:00 2001 From: scVnner Date: Tue, 11 Dec 2018 16:05:22 +0200 Subject: [PATCH] -updated- --- abuseip(cli)/abuseip.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/abuseip(cli)/abuseip.php b/abuseip(cli)/abuseip.php index eace6a7..03c6c91 100644 --- a/abuseip(cli)/abuseip.php +++ b/abuseip(cli)/abuseip.php @@ -255,8 +255,7 @@ function main( int $argc, array $argv ) : void if( !go_back() ) { exit; } } else{ - foreach( ( $resp[0] ) as $k => $v ) - { + foreach( ( $resp[0] ) as $k => $v ){ $tab = ( $k == "id" ) ? "\t\t" : "\t" ; if ( $k == "links" ) echo "\n" . GREEN . "[".RED."*".NONE.GREEN."] ".NONE. strtoupper( $k ) ."$tab- ".RED. $v->about; else if ( $k == "source" ) echo "\n" . GREEN . "[".RED."*".NONE.GREEN."] ".NONE. strtoupper( $k ) ."$tab- ".RED. $v->parameter; @@ -309,8 +308,7 @@ function main( int $argc, array $argv ) : void if( !go_back() ) { exit; } } - else if( $action == 3 ) - { + else if( $action == 3 ){ $network = get_network( ); $days = get_days( );