Zeile 2321 | Zeile 2321 |
---|
} }
|
} }
|
if(empty($posts))
| if(count($posts) < 2)
|
{
|
{
|
error($lang->error_inline_nopostsselected, $lang->error);
| if(empty($posts)) { error($lang->error_inline_nopostsselected, $lang->error); } error($lang->error_nomergeposts, $lang->error);
|
}
if(!is_moderator_by_pids($posts, "canmanagethreads"))
| }
if(!is_moderator_by_pids($posts, "canmanagethreads"))
|
Zeile 2385 | Zeile 2389 |
---|
verify_post_check($mybb->get_input('my_post_key'));
$mergepost = $mybb->get_input('mergepost', MyBB::INPUT_ARRAY);
|
verify_post_check($mybb->get_input('my_post_key'));
$mergepost = $mybb->get_input('mergepost', MyBB::INPUT_ARRAY);
|
if(count($mergepost) <= 1)
| if(count($mergepost) < 2)
|
{ error($lang->error_nomergeposts, $lang->error); }
| { error($lang->error_nomergeposts, $lang->error); }
|