[Vtigercrm-commits] [vtiger-commits] r4982 - /vtigercrm/trunk/modules/Products/Save.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 7 03:53:20 EDT 2006


Author: saraj
Date: Fri Apr  7 01:53:16 2006
New Revision: 4982

Log:
Added the parentab redirection for Product module

Modified:
    vtigercrm/trunk/modules/Products/Save.php

Modified: vtigercrm/trunk/modules/Products/Save.php
==============================================================================
--- vtigercrm/trunk/modules/Products/Save.php (original)
+++ vtigercrm/trunk/modules/Products/Save.php Fri Apr  7 01:53:16 2006
@@ -238,7 +238,8 @@
 	if(isset($_REQUEST['return_id']) && $_REQUEST['return_id'] != "") $return_id = $_REQUEST['return_id'];
 	if(isset($_REQUEST['activity_mode'])) $return_action .= '&activity_mode='.$_REQUEST['activity_mode'];
 
-	header("Location: index.php?action=$return_action&module=$return_module&record=$return_id&viewname=$return_viewname");
+	if(isset($_REQUEST['parenttab']) && $_REQUEST['parenttab'] != "") $parenttab = $_REQUEST['parenttab'];
+	header("Location: index.php?action=$return_action&module=$return_module&parenttab=$parenttab&record=$return_id&viewname=$return_viewname");
 }
 
 





More information about the vtigercrm-commits mailing list