Skip to content

Commit

Permalink
Fixed minor bug - added "isset" to stop warnings
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@843 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Jan 27, 2004
1 parent 15e5d18 commit c7a3913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/database.php
Expand Up @@ -180,7 +180,7 @@
$ccresult = mysql_query($ccquery) or die ("Couldn't get list of cqids for this question<br />$ccquery<br />".mysql_error());
$cccount=mysql_num_rows($ccresult);
while ($ccr=mysql_fetch_array($ccresult)) {$qidarray[]=$ccr['qid'];}
if ($qidarray) {$qidlist=implode(", ", $qidarray);}
if (isset($qidarray) && $qidarray) {$qidlist=implode(", ", $qidarray);}
}
if (get_magic_quotes_gpc() == "0")
{
Expand Down

0 comments on commit c7a3913

Please sign in to comment.