[Vtigercrm-commits] [vtiger-commits] r10005 - /vtigercrm/branches/5.0.3/include/utils/SearchUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jan 2 10:23:03 EST 2007
Author: richie
Date: Tue Jan 2 08:23:00 2007
New Revision: 10005
Log:
display customfield labels in search option
Modified:
vtigercrm/branches/5.0.3/include/utils/SearchUtils.php
Modified: vtigercrm/branches/5.0.3/include/utils/SearchUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/SearchUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/SearchUtils.php Tue Jan 2 08:23:00 2007
@@ -400,6 +400,11 @@
$fieldtype = explode("~",$fieldtype);
$fieldtypeofdata = $fieldtype[0];
$fieldlabel = $mod_strings[$adb->query_result($result,$i,"fieldlabel")];
+
+ // Added to display customfield label in search options
+ if($fieldlabel == "")
+ $fieldlabel = $adb->query_result($result,$i,"fieldlabel");
+
if($fieldlabel == "Related To")
{
$fieldlabel = "Related to";
More information about the vtigercrm-commits
mailing list