Zeile 55 | Zeile 55 |
---|
$forumpermissions = forum_permissions($forum['fid']);
// Invalid forum?
|
$forumpermissions = forum_permissions($forum['fid']);
// Invalid forum?
|
if(!$forum['fid'] || $forum['type'] != "f")
| if(!$forum || $forum['type'] != "f")
|
{ error($lang->error_invalidforum); }
| { error($lang->error_invalidforum); }
|
Zeile 145 | Zeile 145 |
---|
if($mybb->input['action'] == "do_sendtofriend" && $mybb->request_method == "post") { // Verify incoming POST request
|
if($mybb->input['action'] == "do_sendtofriend" && $mybb->request_method == "post") { // Verify incoming POST request
|
verify_post_check($mybb->input['my_post_key']);
| verify_post_check($mybb->get_input('my_post_key'));
|
$plugins->run_hooks("sendthread_do_sendtofriend_start");
| $plugins->run_hooks("sendthread_do_sendtofriend_start");
|