[Vtigercrm-commits] [vtiger-commits] r5349 - /vtigercrm/trunk/modules/Notes/ListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Apr 25 08:53:01 EDT 2006


Author: richie
Date: Tue Apr 25 06:52:56 2006
New Revision: 5349

Log:
if check added for getting the parenttab first
from the request else the db

Modified:
    vtigercrm/trunk/modules/Notes/ListView.php

Modified: vtigercrm/trunk/modules/Notes/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Notes/ListView.php (original)
+++ vtigercrm/trunk/modules/Notes/ListView.php Tue Apr 25 06:52:56 2006
@@ -35,8 +35,14 @@
 $log = LoggerManager::getLogger('note_list');
 
 global $currentModule,$image_path,$theme;
-
-$category = getParentTab();
+if($_REQUEST['parenttab'] != '')
+{
+	$category = $_REQUEST['parenttab'];
+}
+else
+{
+	$category = getParentTab();	
+}	
 
 //<<<<cutomview>>>>>>>
 $oCustomView = new CustomView("Notes");





More information about the vtigercrm-commits mailing list