Skip to content

Commit

Permalink
TWEAK: Added (isset) test to $_POST[$myfield2]
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1048 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 27, 2004
1 parent 120865d commit fd8f724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/statistics.php
Expand Up @@ -284,7 +284,7 @@
{
echo "\t\t\t\t\t<option value='$i'";
if (isset($_POST[$myfield2]) && is_array($_POST[$myfield2]) && in_array($i, $_POST[$myfield2])) {echo " selected";}
if ($_POST[$myfield2] == $i) {echo " selected";}
if (isset($_POST[$myfield2]) && $_POST[$myfield2] == $i) {echo " selected";}
echo ">$i</option>\n";
}
echo "\t\t\t\t</select>\n\t\t\t\t</td>\n";
Expand Down

0 comments on commit fd8f724

Please sign in to comment.