mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Split posts target forum requires 'f_post' now instead of 'm_split'. #31015
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8941 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b9cd8f2966
commit
c1407d8047
2 changed files with 3 additions and 2 deletions
|
@ -122,6 +122,7 @@
|
|||
<li>[Fix] Support (and retain) tabs in code blocks. (Bug #25445)</li>
|
||||
<li>[Fix] Correctly handle unread status of subforums (that are not shown on the index) of forums that are shown on the index. (Bug #14589)</li>
|
||||
<li>[Fix] Stop users from deleting posts after the edit time has passed or they have been locked. (Bug #19115)</li>
|
||||
<li>[Fix] Split posts target forum requires 'f_post' now instead of 'm_split'. (Bug #31015)</li>
|
||||
|
||||
<li>[Change] No longer allow the direct use of MULTI_INSERT in sql_build_array. sql_multi_insert() must be used.</li>
|
||||
<li>[Change] Display warning in ACP if config.php file is left writable.</li>
|
||||
|
|
|
@ -372,11 +372,11 @@ function split_topic($action, $topic_id, $to_forum_id, $subject)
|
|||
return;
|
||||
}
|
||||
|
||||
$forum_info = get_forum_data(array($to_forum_id), 'm_split');
|
||||
$forum_info = get_forum_data(array($to_forum_id), 'f_post');
|
||||
|
||||
if (!sizeof($forum_info))
|
||||
{
|
||||
$template->assign_var('MESSAGE', $user->lang['NOT_MODERATOR']);
|
||||
$template->assign_var('MESSAGE', $user->lang['USER_CANNOT_POST']);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue