Index: temp/trunk/html/admin/basis/mail.php
===================================================================
--- temp/trunk/html/admin/basis/mail.php	(revision 5168)
+++ temp/trunk/html/admin/basis/mail.php	(revision 5169)
@@ -76,8 +76,8 @@
 	if ( $result ){
 		$sql_where = "template_id = ". addslashes($_POST['template_id']);
-		$conn->query("UPDATE dtb_mailtemplate SET template_id = ?, subject = ?,header = ?, footer = ?,creator_id = ?, update_date = ?", $data);
+		$conn->query("UPDATE dtb_mailtemplate SET template_id = ?, subject = ?,header = ?, footer = ?,creator_id = ?, update_date = now()", $data);
 	}else{
 		$data["create_date"] = "now()";
-		$conn->query("INSERT INTO dtb_mailtemplate (template_id,subject,header,footer,creator_id,update_date,create_date) values ( ?,?,?,?,?,?,? )", $data);
+		$conn->query("INSERT INTO dtb_mailtemplate (template_id,subject,header,footer,creator_id,update_date,create_date) values ( ?,?,?,?,?,now(),now() )", $data);
 	}
 
