From a68470b036548a7d464a3510fe3aef1e8ca67d51 Mon Sep 17 00:00:00 2001 From: e107steved Date: Sat, 29 Nov 2008 13:39:17 +0000 Subject: [PATCH] Bugtracker #4602 - set flag to ensure message sent to group is deleted --- e107_plugins/pm/pm_class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e107_plugins/pm/pm_class.php b/e107_plugins/pm/pm_class.php index 7013dba37..7140c4ccb 100755 --- a/e107_plugins/pm/pm_class.php +++ b/e107_plugins/pm/pm_class.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/pm/pm_class.php,v $ -| $Revision: 1.5 $ -| $Date: 2008-02-03 15:22:33 $ -| $Author: mcfly_e107 $ +| $Revision: 1.6 $ +| $Date: 2008-11-29 13:39:09 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -124,7 +124,7 @@ class private_message $ret .= LAN_PM_39.": {$u['user_name']}
"; } } - if(!$pmid = $sql->db_Insert("private_msg", "0, '".intval($vars['from_id'])."', '".$tp -> toDB($toclass)."', '".intval($sendtime)."', '1', '{$pm_subject}', '{$pm_message}', '0', '0', '".$tp -> toDB($attachlist)."', '".$tp -> toDB($pm_options)."', '".intval($pmsize)."'")) + if(!$pmid = $sql->db_Insert("private_msg", "0, '".intval($vars['from_id'])."', '".$tp -> toDB($toclass)."', '".intval($sendtime)."', '1', '{$pm_subject}', '{$pm_message}', '0', '1', '".$tp -> toDB($attachlist)."', '".$tp -> toDB($pm_options)."', '".intval($pmsize)."'")) { $ret .= LAN_PM_41."
"; }