[Vtigercrm-commits] [vtiger-commits] r10217 - in /vtigercrm/branches/5.0.3: include/CustomFieldUtil.php modules/Settings/CreateCustomField.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Feb 21 04:21:42 EST 2007


Author: saraj
Date: Wed Feb 21 02:21:32 2007
New Revision: 10217

Log:
Picklist edit problem for customfield. Fixes #2828

Modified:
    vtigercrm/branches/5.0.3/include/CustomFieldUtil.php
    vtigercrm/branches/5.0.3/modules/Settings/CreateCustomField.php

Modified: vtigercrm/branches/5.0.3/include/CustomFieldUtil.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/CustomFieldUtil.php (original)
+++ vtigercrm/branches/5.0.3/include/CustomFieldUtil.php Wed Feb 21 02:21:32 2007
@@ -202,7 +202,7 @@
 	{
 		$fieldtype = '6';
 	}
-	elseif($label == 'PickList')
+	elseif($label == 'Pick List')
 	{
 		$fieldtype = '7';
 	}

Modified: vtigercrm/branches/5.0.3/modules/Settings/CreateCustomField.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Settings/CreateCustomField.php (original)
+++ vtigercrm/branches/5.0.3/modules/Settings/CreateCustomField.php Wed Feb 21 02:21:32 2007
@@ -142,7 +142,7 @@
 		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="layerHeadingULine">
 			<tr>';
 			if($mode == 'edit')
-				$output .= '<td width="60%" align="left" class="layerPopupHeading">'.$mod_strings['LBL_EDIT_FIELD_TYPE'].' - '.$mod_strings[$customfield_typename].'</td>';
+				$output .= '<td width="60%" align="left" class="layerPopupHeading">'.$mod_strings['LBL_EDIT_FIELD_TYPE'].' - '.$customfield_typename.'</td>';
 			else
 				$output .= '<td width="60%" align="left" class="layerPopupHeading">'.$mod_strings['LBL_ADD_FIELD'].'</td>';
 				





More information about the vtigercrm-commits mailing list