mirror of
https://github.com/sumx86/AbuseIPDB.git
synced 2024-11-16 08:58:31 +01:00
---updatedd---
This commit is contained in:
parent
64a81a9d3b
commit
6f44e8b8d0
1 changed files with 1 additions and 2 deletions
|
@ -74,8 +74,7 @@ function parse_categories( string $file ) : array
|
|||
function display_categories( array $categories ) : void
|
||||
{
|
||||
$i = -1;
|
||||
while( ($i++) < sizeof( $categories ) - 1 )
|
||||
{
|
||||
while( ($i++) < sizeof( $categories ) - 1 ){
|
||||
echo ( $i == 0 ) ? "\n" : "" ;
|
||||
echo GREEN . " [".RED."ID".NONE.GREEN."] - " . NONE . ( (object) $categories[ $i ] )->id . "\x0a";
|
||||
echo GREEN . " [".RED."NAME".NONE.GREEN."] - " . NONE . ( (object) $categories[ $i ] )->name . "\x0a";
|
||||
|
|
Loading…
Reference in a new issue