[Vtigercrm-commits] [vtiger-commits] r9210 - /vtigercrm/trunk/modules/Settings/EditComboField.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Aug 31 02:42:06 EDT 2006
Author: saraj
Date: Thu Aug 31 00:42:02 2006
New Revision: 9210
Log:
Added empty check for picklist values -- ahmed
Modified:
vtigercrm/trunk/modules/Settings/EditComboField.php
Modified: vtigercrm/trunk/modules/Settings/EditComboField.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/EditComboField.php (original)
+++ vtigercrm/trunk/modules/Settings/EditComboField.php Thu Aug 31 00:42:02 2006
@@ -83,6 +83,10 @@
$query = 'select fieldlabel from vtiger_tab inner join vtiger_field on vtiger_tab.tabid=vtiger_field.tabid where vtiger_tab.name="'.$moduleName.'" and fieldname="'.$tableName.'"';
$fieldlabel = $adb->query_result($adb->query($query),0,'fieldlabel');
+if($nonedit_fldVal == '')
+ $smarty->assign("EDITABLE_MODE","edit");
+ else
+ $smarty->assign("EDITABLE_MODE","nonedit");
$smarty->assign("NON_EDITABLE_ENTRIES", $nonedit_fldVal);
$smarty->assign("ENTRIES",$fldVal);
$smarty->assign("MODULE",$moduleName);
More information about the vtigercrm-commits
mailing list