1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Bugtracker #3790 - RSS feed status not displaying correctly

This commit is contained in:
e107steved 2007-02-22 21:58:57 +00:00
parent 905d115572
commit fb535511ae

View File

@ -124,8 +124,8 @@ global $row;
$vals = array(RSS_LAN_ADMIN_21,RSS_LAN_ADMIN_22,RSS_LAN_ADMIN_23);
$text = "<select class='tbox' name='rss_class'>";
foreach($vals as $key=>$val){
$sel = ($row['rss_class'] == $key) ? "selected='selected'" : "";
$text .= "<option value='$key'>$val</option>\n";
$sel = ($row['rss_class'] == $key) ? " selected='selected'" : "";
$text .= "<option value='{$key}'{$sel}>$val</option>\n";
}
$text .= "</select>";
return $text;