mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
ensure that the list of ips is unique
This commit is contained in:
parent
b28aac54d7
commit
d9da8e4d6f
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ $v_ftp_email = $panel[$user]['CONTACT'];
|
|||
|
||||
// List IP addresses
|
||||
exec (VESTA_CMD."v-list-user-ips ".$user." json", $output, $return_var);
|
||||
$ips = json_decode(implode('', $output), true);
|
||||
$ips = array_unique(json_decode(implode('', $output), true));
|
||||
unset($output);
|
||||
|
||||
// List web stat engines
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue