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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Feb 27 10:10:04 EST 2007


Author: saraj
Date: Tue Feb 27 08:09:58 2007
New Revision: 10262

Log:
handler is empty in listview. Fixed #3100

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 Tue Feb 27 08:09:58 2007
@@ -998,6 +998,7 @@
 		$uitype = $key;
 		$colname = $value;
         }
+
 	//added for getting event status in Custom view - Jaguar
 	if($module == 'Calendar' && $colname == "status")
 	{
@@ -1005,6 +1006,7 @@
 	}
 	//Ends
 	$field_val = $adb->query_result($list_result,$list_result_count,$colname);
+	
 	if(strlen($field_val) > 40)
         {
                 $temp_val = substr($field_val,0,40).'...';
@@ -1012,9 +1014,13 @@
 	{
 		$temp_val = $field_val;
 	}
-	if($uitype == 52 || $uitype == 53 || $uitype == 77)
+	if($uitype == 53 || $uitype == 77)
 	{
 		$value = $adb->query_result($list_result,$list_result_count,'user_name');
+	}
+	elseif($uitype == 52)
+	{	
+		$value = getUserName($adb->query_result($list_result,$list_result_count,'handler'));
 	}
 	elseif($uitype == 15 && $module == 'Calendar')
 	{





More information about the vtigercrm-commits mailing list