clear the cookie for zmMontageLayout
This commit is contained in:
parent
0af389c984
commit
96e0959c35
|
@ -696,8 +696,9 @@ if ( canEdit( 'System' ) ) {
|
|||
$Layout->save();
|
||||
session_start();
|
||||
$_SESSION['zmMontageLayout'] = $Layout->Id();
|
||||
setcookie('zmMontageLayout', $Layout->Id(), 1 );
|
||||
session_write_close();
|
||||
unset( $_COOKIE['zmMontageLayout'] );
|
||||
$redirect = true;
|
||||
} // end if save
|
||||
|
||||
} else if ( $_REQUEST['object'] == 'server' ) {
|
||||
|
|
Loading…
Reference in New Issue