[Vtigercrm-commits] [vtiger-commits] r10014 - /vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jan 3 08:06:18 EST 2007
Author: richie
Date: Wed Jan 3 06:06:13 2007
New Revision: 10014
Log:
allow single quotes during email template creation
Modified:
vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php
Modified: vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/saveemailtemplate.php Wed Jan 3 06:06:13 2007
@@ -15,13 +15,13 @@
$db = new PearDatabase();
$log->debug("the foldername is ".$folderName);
$folderName = $_REQUEST["foldername"];
-$templateName = $_REQUEST["templatename"];
+$templateName = addslashes($_REQUEST["templatename"]);
$log->debug("the templatename is ".$templateName);
$templateid = $_REQUEST["templateid"];
$log->debug("the templateid is ".$templateid);
$description = $_REQUEST["description"];
$log->debug("the description is ".$description);
-$subject = $_REQUEST["subject"];
+$subject = addslashes($_REQUEST["subject"]);
$log->debug("the subject is ".$subject);
$body = $_REQUEST["body"];
$log->debug("the body is ".$body);
More information about the vtigercrm-commits
mailing list