[Vtigercrm-commits] [vtiger-commits] r4850 - /vtigercrm/branches/4.2_postgresql_integration/modules/Users/saveemailtemplate.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 3 16:00:34 EDT 2006


Author: allanbush
Date: Mon Apr  3 14:00:31 2006
New Revision: 4850

Log:
Fixed typo in query line.  Refs #17.

Modified:
    vtigercrm/branches/4.2_postgresql_integration/modules/Users/saveemailtemplate.php

Modified: vtigercrm/branches/4.2_postgresql_integration/modules/Users/saveemailtemplate.php
==============================================================================
--- vtigercrm/branches/4.2_postgresql_integration/modules/Users/saveemailtemplate.php (original)
+++ vtigercrm/branches/4.2_postgresql_integration/modules/Users/saveemailtemplate.php Mon Apr  3 14:00:31 2006
@@ -42,7 +42,7 @@
 }
 else
 {
-	$sql = "insert into emailtemplates values ('". $folderName. "','".$templateName."','".$subject."',".$description.".$body.",0,".$db->getUniqueID('emailtemplates').")";
+	$sql = "insert into emailtemplates values ('". $folderName. "','".$templateName."','".$subject."',".$description.",".$body.",0,".$db->getUniqueID('emailtemplates').")";
 	$adb->query($sql);
 
 	$vtlog->logthis("added to the db the emailtemplate",'info');  





More information about the vtigercrm-commits mailing list