Skip to content

Commit

Permalink
Fixed bug: line 67 - checks to see if both the variable exists, _and_…
Browse files Browse the repository at this point in the history
… if it is an array.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@905 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Feb 18, 2004
1 parent 1fe27f9 commit f53094f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/html.php
Expand Up @@ -64,7 +64,7 @@
}
if(is_array($oldresultslist)) {$deactivatedsurveys=count($oldresultslist);} else {$deactivatedsurveys=0;}
if(is_array($oldtokenlist)) {$deactivatedtokens=count($oldtokenlist);} else {$deactivatedtokens=0;}
if(is_array($tokenlist)) {$activetokens=count($tokenlist);} else {$tokenlist=0;}
if(isset($tokenlist) && is_array($tokenlist)) {$activetokens=count($tokenlist);} else {$tokenlist=0;}
$cssummary = "<table><tr><td height='1'></td></tr></table>\n"
. "<table align='center' bgcolor='#DDDDDD' style='border: 1px solid #555555' "
. "cellpadding='1' cellspacing='0'>\n"
Expand Down

0 comments on commit f53094f

Please sign in to comment.