Vergleich sendthread.php - 1.2.9 - 1.2.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * $Id: sendthread.php 3030 2007-04-26 00:19:47Z Tikitiki $

 * $Id: sendthread.php 3596 2008-01-20 08:27:39Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 51Zeile 51
	error_no_permission();
}


	error_no_permission();
}


// Password protected forums
check_forum_password($fid, $forum['password']);

// Check if this forum is password protected and we have a valid password
check_forum_password($forum['fid']);


if($mybb->usergroup['cansendemail'] == "no")
{


if($mybb->usergroup['cansendemail'] == "no")
{

Zeile 61Zeile 61

if($mybb->input['action'] == "do_sendtofriend" && $mybb->request_method == "post")
{


if($mybb->input['action'] == "do_sendtofriend" && $mybb->request_method == "post")
{

 
	// Verify incoming POST request
verify_post_check($mybb->input['my_post_key']);


	$plugins->run_hooks("sendthread_do_sendtofriend_start");
if(!preg_match("/^(.+)@[a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+$/si", $mybb->input['sendto']))
{

	$plugins->run_hooks("sendthread_do_sendtofriend_start");
if(!preg_match("/^(.+)@[a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+$/si", $mybb->input['sendto']))
{