Use net zm_setcookie

This commit is contained in:
Isaac Connor 2022-01-20 09:48:09 -05:00
parent 3cd6fbdc12
commit 4bf55b1af1
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ if ( isset($_REQUEST['object']) ) {
$Layout->save(); $Layout->save();
zm_session_start(); zm_session_start();
$_SESSION['zmMontageLayout'] = $Layout->Id(); $_SESSION['zmMontageLayout'] = $Layout->Id();
setcookie('zmMontageLayout', $Layout->Id(), 1); zm_setcookie('zmMontageLayout', $Layout->Id());
session_write_close(); session_write_close();
$redirect = '?view=montage'; $redirect = '?view=montage';
} // end if save } // end if save