Vergleich sendthread.php - 1.8.27 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 55Zeile 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 145Zeile 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");