1
0
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:
Cameron
2013-05-24 00:41:30 -07:00
parent 14c41b7ec9
commit e9d9047c04

View File

@@ -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>