[Vtigercrm-commits] [vtiger-commits] r10737 - /vtigercrm/branches/5.0.3/modules/Reports/Save.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 19 11:52:20 EDT 2007


Author: richie
Date: Thu Apr 19 09:52:15 2007
New Revision: 10737

Log:
* Fixed the issues because of single quote in filter, Fixed #3627

Modified:
    vtigercrm/branches/5.0.3/modules/Reports/Save.php

Modified: vtigercrm/branches/5.0.3/modules/Reports/Save.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Reports/Save.php (original)
+++ vtigercrm/branches/5.0.3/modules/Reports/Save.php Thu Apr 19 09:52:15 2007
@@ -83,7 +83,7 @@
    $string = substr($allKeys[$i], 0, 4);
    if($string == "fval")
    {
-           $adv_filter_value[] = $_REQUEST[$allKeys[$i]];
+           $adv_filter_value[] = addslashes($_REQUEST[$allKeys[$i]]);
    }
 }
 //<<<<<<<advancedfilter>>>>>>>>





More information about the vtigercrm-commits mailing list