[Vtigercrm-commits] [vtiger-commits] r10025 - in /vtigercrm/branches/5.0.3: include/utils/CommonUtils.php modules/Users/Authenticate.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Jan 4 07:38:32 EST 2007


Author: richie
Date: Thu Jan  4 05:38:26 2007
New Revision: 10025

Log:
issue in changing default module view - fixed

Modified:
    vtigercrm/branches/5.0.3/include/utils/CommonUtils.php
    vtigercrm/branches/5.0.3/modules/Users/Authenticate.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 Thu Jan  4 05:38:26 2007
@@ -1302,6 +1302,7 @@
 			if(in_array($tabid,$childArr))
 			{
 				$parent_tabname= $parent_tab_info_array[$parid];
+				break;
 			}
 		}
 		$log->debug("Exiting getParentTabFromModule method ...");

Modified: vtigercrm/branches/5.0.3/modules/Users/Authenticate.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/Authenticate.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/Authenticate.php Thu Jan  4 05:38:26 2007
@@ -67,7 +67,6 @@
 	createUserPrivilegesfile($focus->id);
 	
 	//Security related entries end
-	header("Location: index.php?action=index&module=Home");
 	session_unregister('login_password');
 	session_unregister('login_error');
 	session_unregister('login_user_name');
@@ -126,6 +125,7 @@
 	{
 		unlink($tmp_file_name);
 	}
+	header("Location: index.php");
 }
 else
 {





More information about the vtigercrm-commits mailing list