From: Harvie Date: Wed, 27 Oct 2010 10:10:32 +0000 (+0200) Subject: Temporary mail fix X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=cb7733d8e1998c96e7a868b47d4ba0ed74e94eec;p=mirrors%2FKyberia-bloodline.git Temporary mail fix --- diff --git a/wwwroot/inc/eventz/send.inc b/wwwroot/inc/eventz/send.inc index eef20af..bf217be 100644 --- a/wwwroot/inc/eventz/send.inc +++ b/wwwroot/inc/eventz/send.inc @@ -85,9 +85,10 @@ mail_from='$user_id',mail_text='$mail_text',mail_to='$mail_to_id_send',mail_time $q="insert into mail set mail_duplicate_id='$duplicate_id', mail_read='no',mail_user='$mail_to_id_send',mail_from='$user_id',mail_text='$mail_text', mail_to='$mail_to_id_send',mail_timestamp=NOW()"; - $result=$db->query($q); - $db->query("update users set user_mail=user_mail+1, -user_mail_name='$user_name', user_mail_id = '".mysql_real_escape_string($_SESSION['user_id'])."' where user_id='$mail_to_id_send'"); + $result=$db->query($q); + $db->query("update users set user_mail=user_mail+1,". + //"user_mail_name='$user_name',". //Not in DB yet! + "user_mail_id='".mysql_real_escape_string($_SESSION['user_id'])."' where user_id='$mail_to_id_send'"); } return true;