1
0
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:
Cameron 2015-04-14 15:41:00 -07:00
parent a1d7fbd8c5
commit aa99411a5b

View File

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