[Vtigercrm-commits] [vtiger-commits] r7651 - /vtigercrm/trunk/modules/Users/saveemailtemplate.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 28 12:52:51 EDT 2006


Author: richie
Date: Wed Jun 28 10:52:43 2006
New Revision: 7651

Log:
Added vtiger_ in getUniqueID function parameter

Modified:
    vtigercrm/trunk/modules/Users/saveemailtemplate.php

Modified: vtigercrm/trunk/modules/Users/saveemailtemplate.php
==============================================================================
--- vtigercrm/trunk/modules/Users/saveemailtemplate.php (original)
+++ vtigercrm/trunk/modules/Users/saveemailtemplate.php Wed Jun 28 10:52:43 2006
@@ -41,7 +41,7 @@
 }
 else
 {
-	$templateid = $db->getUniqueID('emailtemplates');
+	$templateid = $db->getUniqueID('vtiger_emailtemplates');
 	$sql = "insert into vtiger_emailtemplates values ('". $folderName. "','".$templateName."','".$subject."','".$description."','".$body."',0,".$templateid.")";
 	$adb->query($sql);
 





More information about the vtigercrm-commits mailing list