Vergleich inc/datahandlers/pm.php - 1.4.6 - 1.4.9

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

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: pm.php 4277 2008-11-23 20:47:16Z Tikitiki $

 * $Id: pm.php 4372 2009-05-15 16:13:13Z Tomm $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 492Zeile 492
		$recipient_list = serialize($recipient_list);

$this->pm_insert_data = array(

		$recipient_list = serialize($recipient_list);

$this->pm_insert_data = array(

			'fromid' => $pm['sender']['uid'],

			'fromid' => intval($pm['sender']['uid']),

			'folder' => $pm['folder'],
'subject' => $db->escape_string($pm['subject']),
'icon' => intval($pm['icon']),

			'folder' => $pm['folder'],
'subject' => $db->escape_string($pm['subject']),
'icon' => intval($pm['icon']),

Zeile 507Zeile 507
		);

// Check if we're updating a draft or not.

		);

// Check if we're updating a draft or not.

		$query = $db->simple_select("privatemessages", "pmid", "folder='3' AND uid='{$pm['sender']['uid']}' AND pmid='{$pm['pmid']}'");

		$query = $db->simple_select("privatemessages", "pmid", "folder='3' AND uid='".intval($pm['sender']['uid'])."' AND pmid='{$pm['pmid']}'");

		$draftcheck = $db->fetch_array($query);

// This PM was previously a draft

		$draftcheck = $db->fetch_array($query);

// This PM was previously a draft

Zeile 627Zeile 627
			{
$this->pm_insert_data['toid'] = 0;
}

			{
$this->pm_insert_data['toid'] = 0;
}

			$this->pm_insert_data['uid'] = $pm['sender']['uid'];

			$this->pm_insert_data['uid'] = intval($pm['sender']['uid']);

			$this->pm_insert_data['folder'] = 2;
$this->pm_insert_data['status'] = 1;
$this->pm_insert_data['receipt'] = 0;

			$this->pm_insert_data['folder'] = 2;
$this->pm_insert_data['status'] = 1;
$this->pm_insert_data['receipt'] = 0;