Use net zm_setcookie

This commit is contained in:
Isaac Connor 2022-01-20 09:47:53 -05:00
parent a57206ef54
commit 9395b7e47c
1 changed files with 1 additions and 1 deletions

View File

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