[Vtigercrm-commits] [vtiger-commits] r9949 - /vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Dec 8 02:43:38 EST 2006


Author: richie
Date: Fri Dec  8 00:43:32 2006
New Revision: 9949

Log:
problem selecting related to in todo fixed

Modified:
    vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php

Modified: vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php Fri Dec  8 00:43:32 2006
@@ -985,7 +985,10 @@
 	$log->debug("Entering getValue(".$field_result.",". $list_result.",".$fieldname.",".$focus.",".$module.",".$entity_id.",".$list_result_count.",".$mode.",".$popuptype.",".$returnset.",".$viewid.") method ...");
 	global $adb,$current_user;
 	
-	$viewname = getCVname($viewid);
+	if($viewid != '')
+	{
+		$viewname = getCVname($viewid);
+	}
 	require('user_privileges/user_privileges_'.$current_user->id.'.php');
 	$tabname = getParentTab();
 	$tabid = getTabid($module);





More information about the vtigercrm-commits mailing list