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:
parent
905d115572
commit
fb535511ae
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user