BUGFIX: fixed last commit
[e-DoKo.git] / include / output.php
index 0c2ff967ad05d5830a46b47bf5c9f9734285592c..f4d3fdf0de0f08738fbbe379adab41d842bfd7c1 100644 (file)
@@ -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";