summaryrefslogtreecommitdiffstats
path: root/include/output.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/output.php')
-rw-r--r--include/output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/output.php b/include/output.php
index 0c2ff96..f4d3fdf 100644
--- a/include/output.php
+++ b/include/output.php
@@ -205,7 +205,7 @@ function display_card($card,$dir="english")
function display_link_card($card,$dir="english",$type="card", $selected=0)
{
if($selected)
- $selected = 'selected="selected"';
+ $selected = 'checked="checked"';
if( $card/2 - (int)($card/2) == 0.5)
echo "<div class=\"cardinput\"><input type=\"radio\" name=\"".$type."\" value=\"".$card."\" $selected /><img src=\"cards/".$dir."/".$card.".png\" alt=\"".DB_get_card_name($card)."\" /></div>\n";