Skip to content

Commit c957721

Browse files
committed
Set token to session var
1 parent 3196275 commit c957721

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/ice-repo/settings.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
// Reestablish those session vars in an ongoing way
7070
if (isset($_SESSION['token'])) {
71-
$_SESSION['token'] = $_SESSION['token'];
71+
$token = $_SESSION['token'] = $_SESSION['token'];
7272
}
7373
if (isset($_SESSION['username'])) {
7474
$username = $_SESSION['username'] = $_SESSION['username'];
@@ -118,4 +118,4 @@ function stripslashes_deep($value) {
118118
$_COOKIE = (isset($_COOKIE) && !empty($_COOKIE)) ? array_map('stripslashes_deep', $_COOKIE) : array();
119119
$_REQUEST = (isset($_REQUEST) && !empty($_REQUEST)) ? array_map('stripslashes_deep', $_REQUEST) : array();
120120
}
121-
?>
121+
?>

0 commit comments

Comments
 (0)