diff --git a/web/includes/actions/bandwidth.php b/web/includes/actions/bandwidth.php index c5fafa1c9..ac6bd407f 100644 --- a/web/includes/actions/bandwidth.php +++ b/web/includes/actions/bandwidth.php @@ -21,7 +21,7 @@ if ( $action == 'bandwidth' && isset($_REQUEST['newBandwidth']) ) { $_COOKIE['zmBandwidth'] = validStr($_REQUEST['newBandwidth']); - setcookie('zmBandwidth', validStr($_REQUEST['newBandwidth']), time()+3600*24*30*12*10); + zm_setcookie('zmBandwidth', validStr($_REQUEST['newBandwidth'])); $refreshParent = true; $view = 'none'; $closePopup = true;