[Vtigercrm-commits] [vtiger development] #4123: HTTP_POST_VARS in Save Report
vtiger development
vtiger-tickets at trac.vtiger.com
Mon Aug 20 18:25:31 EDT 2007
#4123: HTTP_POST_VARS in Save Report
-----------------------+----------------------------------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.3
Keywords: |
-----------------------+----------------------------------------------------
The same problem that we had in Custom View (Ticket #3009) is present in
modules/Reports/Save.php and the summary report values are not stored.
FIX:
Index: modules/Reports/Save.php
===================================================================
--- modules/Reports/Save.php (revision 371)
+++ modules/Reports/Save.php (working copy)
@@ -48,7 +48,7 @@
//<<<<<<<standardfilters>>>>>>>>>
//<<<<<<<columnstototal>>>>>>>>>>
-$allKeys = array_keys($HTTP_POST_VARS);
+$allKeys = array_keys($_POST);
for ($i=0;$i<count($allKeys);$i++)
{
$string = substr($allKeys[$i], 0, 3);
@@ -61,7 +61,7 @@
//<<<<<<<advancedfilter>>>>>>>>
//$adv_filter_col = "kcol";
-$allKeys = array_keys($HTTP_POST_VARS);
+$allKeys = array_keys($_POST);
for ($i=0;$i<count($allKeys);$i++)
{
$string = substr($allKeys[$i], 0, 4);
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4123>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list