mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Closes #334 - default parent value.
This commit is contained in:
@@ -996,7 +996,7 @@ class forumAdmin
|
||||
$text .= "<select name='forum_parent' class='tbox'>\n";
|
||||
while (list($fid, $fname) = $sql->fetch(MYSQL_NUM))
|
||||
{
|
||||
$sel = ($fid == vartrue($fInfor['forum_parent']) ? "selected='selected'" : '');
|
||||
$sel = ($fid == vartrue($fInfo['forum_parent']) ? "selected='selected'" : '');
|
||||
$text .= "<option value='{$fid}' {$sel}>{$fname}</option>\n";
|
||||
}
|
||||
$text .= "</select>
|
||||
|
Reference in New Issue
Block a user