mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +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";
|
$text .= "<select name='forum_parent' class='tbox'>\n";
|
||||||
while (list($fid, $fname) = $sql->fetch(MYSQL_NUM))
|
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 .= "<option value='{$fid}' {$sel}>{$fname}</option>\n";
|
||||||
}
|
}
|
||||||
$text .= "</select>
|
$text .= "</select>
|
||||||
|
Reference in New Issue
Block a user