Temporary mail fix
authorHarvie <tomas@mudrunka.cz>
Wed, 27 Oct 2010 10:10:32 +0000 (12:10 +0200)
committerHarvie <tomas@mudrunka.cz>
Wed, 27 Oct 2010 10:10:32 +0000 (12:10 +0200)
wwwroot/inc/eventz/send.inc

index eef20af1a86b1da0b406476ffda24d3dbc9b768a..bf217beb41aed63e4f559e6264ec64d7ff8abb99 100644 (file)
@@ -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;
 
This page took 0.09589 seconds and 4 git commands to generate.