Changeset 14141


Ignore:
Timestamp:
2007/06/01 17:53:19 (17 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/basis/mail.php

    r14082 r14141  
    7777    if ( $result ){ 
    7878        $sql_where = "template_id = ". addslashes($_POST['template_id']); 
    79         $conn->query("UPDATE dtb_mailtemplate SET send_type = ?,template_id = ?, template_name = ?,subject = ?,header = ?, footer = ?,creator_id = ?, update_date = now() WHERE ".$sql_where, $data); 
     79        $conn->query("UPDATE dtb_mailtemplate SET send_type = ?,template_id = ?, template_name = ?,subject = ?,body = ?,creator_id = ?, update_date = now() WHERE ".$sql_where, $data); 
    8080    }else{ 
    81         $conn->query("INSERT INTO dtb_mailtemplate (send_type,template_id,template_name,subject,header,footer,creator_id,update_date,create_date) values ( ?,?,?,?,?,?,?,now(),now() )", $data); 
     81        $conn->query("INSERT INTO dtb_mailtemplate (send_type,template_id,template_name,subject,body,creator_id,update_date,create_date) values ( ?,?,?,?,?,?,now(),now() )", $data); 
    8282    } 
    8383 
Note: See TracChangeset for help on using the changeset viewer.