[Vtigercrm-commits] [vtiger-commits] r10945 - /vtigercrm/branches/5.0.3/include/utils/CommonUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 21 06:03:09 EDT 2007


Author: saraj
Date: Mon May 21 04:03:02 2007
New Revision: 10945

Log:
issue in Related list navigation. Fixes #3881

Modified:
    vtigercrm/branches/5.0.3/include/utils/CommonUtils.php

Modified: vtigercrm/branches/5.0.3/include/utils/CommonUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/CommonUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/CommonUtils.php Mon May 21 04:03:02 2007
@@ -1099,6 +1099,11 @@
  			    $sql = fixPostgresQuery( $sql, $log, 0);
   		}
 		$result = $adb->query($sql);
+
+		// Added to unset the previous record's related listview session values
+		if(isset($_SESSION['rlvs']))
+			unset($_SESSION['rlvs']);
+
 		$getBlockInfo=getDetailBlockInformation($module,$result,$col_fields,$tabid,$block_label);
 	}
 	else





More information about the vtigercrm-commits mailing list