Vergleich inc/datahandlers/pm.php - 1.2.0 - 1.2.4

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

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

 * $Id: pm.php 2165 2006-08-30 06:24:52Z chris $

 * $Id: pm.php 2279 2006-09-27 10:35:25Z chris $

 */

/*

 */

/*

Zeile 394Zeile 394

if($pm['saveasdraft'])
{


if($pm['saveasdraft'])
{

				$updateddraft['uid'] = $pm['sender']['uid'];

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

			}
else
{

			}
else
{

				$updateddraft['uid'] = $pm['recipient']['uid'];

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

			}
$plugins->run_hooks_by_ref("datahandler_pm_insert_updatedraft", $this);
$db->update_query(TABLE_PREFIX."privatemessages", $this->pm_insert_data, "pmid='{$pm['pmid']}' AND uid='{$pm['sender']['uid']}'");

			}
$plugins->run_hooks_by_ref("datahandler_pm_insert_updatedraft", $this);
$db->update_query(TABLE_PREFIX."privatemessages", $this->pm_insert_data, "pmid='{$pm['pmid']}' AND uid='{$pm['sender']['uid']}'");

Zeile 423Zeile 423

if($pm['saveasdraft'])
{


if($pm['saveasdraft'])
{

				$newpm['uid'] = $pm['sender']['uid'];

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

			}
$plugins->run_hooks_by_ref("datahandler_pm_insert", $this);
$db->insert_query(TABLE_PREFIX."privatemessages", $this->pm_insert_data);

			}
$plugins->run_hooks_by_ref("datahandler_pm_insert", $this);
$db->insert_query(TABLE_PREFIX."privatemessages", $this->pm_insert_data);