[Vtigercrm-commits] [vtiger-commits] r6772 - /vtigercrm/trunk/modules/Users/updateLeadDBStatus.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 30 12:27:39 EDT 2006


Author: saraj
Date: Tue May 30 10:27:36 2006
New Revision: 6772

Log:
changes made to fix the issue

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

Modified: vtigercrm/trunk/modules/Users/updateLeadDBStatus.php
==============================================================================
--- vtigercrm/trunk/modules/Users/updateLeadDBStatus.php (original)
+++ vtigercrm/trunk/modules/Users/updateLeadDBStatus.php Tue May 30 10:27:36 2006
@@ -71,5 +71,14 @@
        $errormsg = '';
 }
 
-header("Location: index.php?module=$return_module&action=".$return_module."Ajax&file=ListView&ajax=changestate&viewname=".$viewid."&errormsg=".$errormsg);
+if($return_module == 'Calendar')
+{
+	header("Location: index.php?module=$return_module&action=index");
+}
+else
+{
+	header("Location: index.php?module=$return_module&action=".$return_module."Ajax&file=ListView&ajax=changestate&viewname=".$viewid."&errormsg=".$errormsg);
+}
+				
+
 ?>





More information about the vtigercrm-commits mailing list