Index: temp/trunk/html/admin/basis/mail.php
===================================================================
--- temp/trunk/html/admin/basis/mail.php	(revision 5170)
+++ temp/trunk/html/admin/basis/mail.php	(revision 5171)
@@ -74,5 +74,5 @@
 	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 = now() WHERE".$sql_where, $data);
+		$conn->query("UPDATE dtb_mailtemplate SET template_id = ?, subject = ?,header = ?, footer = ?,creator_id = ?, update_date = now() WHERE ".$sql_where, $data);
 	}else{
 		$conn->query("INSERT INTO dtb_mailtemplate (template_id,subject,header,footer,creator_id,update_date,create_date) values ( ?,?,?,?,?,now(),now() )", $data);
