mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
print_radio() fixes
This commit is contained in:
@@ -458,9 +458,15 @@
|
||||
foreach ($values as $v) {
|
||||
|
||||
if ($v == $default)
|
||||
$sel = "checked value=\"1\"";
|
||||
$sel = "checked";
|
||||
else
|
||||
$sel = "value=\"0\"";
|
||||
$sel = "";
|
||||
|
||||
if ($v == "Yes") {
|
||||
$sel .= " value=\"1\"";
|
||||
} else {
|
||||
$sel .= " value=\"0\"";
|
||||
}
|
||||
|
||||
print "<input type=\"radio\" $sel $attributes name=\"$id\"> $v ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user