[Vtigercrm-commits] [vtiger-commits] r6536 - /vtigercrm/trunk/modules/Users/Save.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat May 27 11:02:02 EDT 2006


Author: saraj
Date: Sat May 27 09:01:59 2006
New Revision: 6536

Log:
Updated the Save file for Users - ahmed

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

Modified: vtigercrm/trunk/modules/Users/Save.php
==============================================================================
--- vtigercrm/trunk/modules/Users/Save.php (original)
+++ vtigercrm/trunk/modules/Users/Save.php Sat May 27 09:01:59 2006
@@ -170,5 +170,10 @@
 createUserPrivilegesfile($focus->id);
 createUserSharingPrivilegesfile($focus->id);
 
-header("Location: index.php?action=$return_action&module=$return_module&record=$return_id&parenttab=$parenttab$activitymode");
+if($_REQUEST['modechk'] == 'prefview')
+header("Location: index.php?action=$return_action&module=$return_module&record=$return_id");
+else
+header("Location: index.php?action=$return_action&module=$return_module&record=$return_id&parenttab=$parenttab");
+
+
 ?>





More information about the vtigercrm-commits mailing list