Skip to content

Commit

Permalink
Minor tweak checking for existance of $oldsid (for resetting survey s…
Browse files Browse the repository at this point in the history
…ession if survey changes without a nice exit)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@988 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Apr 20, 2004
1 parent fc9992d commit b4a18ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -172,7 +172,7 @@

if (!isset($oldsid)) {$_SESSION['oldsid'] = $sid;}

if ($oldsid && $oldsid != $sid)
if (isset($oldsid) && $oldsid && $oldsid != $sid)
{
session_unset();
$_SESSION['oldsid']=$sid;
Expand Down

0 comments on commit b4a18ce

Please sign in to comment.