mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Issue #949 - Always place child forum at the end of the list.
This commit is contained in:
parent
a1d7fbd8c5
commit
aa99411a5b
@ -296,7 +296,7 @@ if(deftrue('NEW_FORUMADMIN'))
|
||||
$sql = e107::getDb();
|
||||
$parentOrder = $sql->retrieve('forum','forum_order','forum_id='.$new_data['forum_parent']." LIMIT 1");
|
||||
|
||||
$new_data['forum_order'] = $parentOrder + 1;
|
||||
$new_data['forum_order'] = $parentOrder + 50;
|
||||
return $new_data;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user