[Vtigercrm-commits] [vtiger-commits] r9281 - /vtigercrm/trunk/include/utils/SearchUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Sep 5 08:45:47 EDT 2006
Author: saraj
Date: Tue Sep 5 06:45:43 2006
New Revision: 9281
Log:
changes made to fix popup search related issue --Minnie
Modified:
vtigercrm/trunk/include/utils/SearchUtils.php
Modified: vtigercrm/trunk/include/utils/SearchUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/SearchUtils.php (original)
+++ vtigercrm/trunk/include/utils/SearchUtils.php Tue Sep 5 06:45:43 2006
@@ -118,7 +118,10 @@
}
else
{
- $fieldname = $focus->list_fields_name[$name];
+ if( $focus->list_fields_name[$name] == '')
+ $fieldname = 'crmid';
+ else
+ $fieldname = $focus->list_fields_name[$name];
}
if($is_admin == true || $profileGlobalPermission[1] == 0 || $profileGlobalPermission[2] ==0 || in_array($fieldname,$field))
More information about the vtigercrm-commits
mailing list