[Vtigercrm-commits] [vtiger-commits] r11104 - in /vtigercrm/branches/5.0.3/include/utils: DetailViewUtils.php ListViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 28 12:38:24 EDT 2007


Author: jerrydgeorge
Date: Mon May 28 10:38:15 2007
New Revision: 11104

Log:
Picklist Values None Option Shown as --None-- in Both DetailView and ListView

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

Modified: vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php Mon May 28 10:38:15 2007
@@ -54,8 +54,6 @@
 	if($generatedtype == 2)
 		$mod_strings[$fieldlabel] = $fieldlabel;
 
-        if($col_fields[$fieldname]=='--None--')
-                $col_fields[$fieldname]='';
 	if($uitype == 99)
 	{
 		$label_fld[] = $mod_strings[$fieldlabel];

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 Mon May 28 10:38:15 2007
@@ -1843,10 +1843,6 @@
 	if ( in_array($uitype,array(71,72,7,9,90)) )
 	{
 		$value = '<span align="right">'.$value.'</div>';
-	}
-	if($value == '--None--')
-	{
-	        $value = '';
 	}
 	$log->debug("Exiting getValue method ...");
 	return $value; 





More information about the vtigercrm-commits mailing list