[Vtigercrm-commits] [vtiger-commits] r10926 - /vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 14 19:34:25 EDT 2007


Author: richie
Date: Mon May 14 17:34:19 2007
New Revision: 10926

Log:
* Added slashes to avoid the error when we give single or double quotes, Fixed #3715

Modified:
    vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php

Modified: vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php (original)
+++ vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php Mon May 14 17:34:19 2007
@@ -752,7 +752,7 @@
 		{
 			$advft["columnname"] = $advfilterrow["columnname"];
 			$advft["comparator"] = $advfilterrow["comparator"];
-			$advft["value"] = $advfilterrow["value"];
+			$advft["value"] = addslashes($advfilterrow["value"]);
 			$advfilterlist[] = $advft;
 		}
 		return $advfilterlist;





More information about the vtigercrm-commits mailing list