Skip to content

Commit

Permalink
Fixed "notice" in token checking output
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@832 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Jan 10, 2004
1 parent e68b1aa commit d0a1920
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion group.php
Expand Up @@ -450,7 +450,7 @@
//RUN THIS IF THIS IS THE FIRST TIME
if (!isset($_SESSION['step']) || !$_SESSION['step'])
{
if ($tokensexist == 1 && !$_GET['token'])
if ($tokensexist == 1 && (!isset($_GET['token']) || !$_GET['token']))
{
echo "<html>\n";
//NO TOKEN PRESENTED. EXPLAIN PROBLEM AND PRESENT FORM
Expand Down
2 changes: 1 addition & 1 deletion survey.php
Expand Up @@ -444,7 +444,7 @@
//RUN THIS IF THIS IS THE FIRST TIME
if (!isset($_SESSION['step']) || !$_SESSION['step'])
{
if ($tokensexist == 1 && !$_GET['token'])
if ($tokensexist == 1 && (!isset($_GET['token']) || !$_GET['token']))
{
echo "<html>\n";
//NO TOKEN PRESENTED. EXPLAIN PROBLEM AND PRESENT FORM
Expand Down

0 comments on commit d0a1920

Please sign in to comment.