Merge pull request #244 from olipayne/master

ensure that the list of ips is unique
This commit is contained in:
Serghey Rodin 2014-11-13 22:35:26 +02:00
commit 8e505ba713

View file

@ -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