mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-09 18:10:59 +02:00
print_feed_cat_select: fix Uncategorized not recognized as default_id
This commit is contained in:
parent
fc9de93985
commit
7e18f8e710
@ -2043,7 +2043,14 @@
|
|||||||
if (db_num_rows($result) > 0) {
|
if (db_num_rows($result) > 0) {
|
||||||
print "<option disabled=\"1\">--------</option>";
|
print "<option disabled=\"1\">--------</option>";
|
||||||
}
|
}
|
||||||
print "<option value=\"0\">".__('Uncategorized')."</option>";
|
|
||||||
|
if ($default_id == 0) {
|
||||||
|
$is_selected = "selected=\"1\"";
|
||||||
|
} else {
|
||||||
|
$is_selected = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
print "<option $is_selected value=\"0\">".__('Uncategorized')."</option>";
|
||||||
}
|
}
|
||||||
print "</select>";
|
print "</select>";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user