[Vtigercrm-commits] [vtiger-commits] r9253 - /vtigercrm/trunk/data/CRMEntity.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Sep 4 07:33:41 EDT 2006
Author: richie
Date: Mon Sep 4 05:33:14 2006
New Revision: 9253
Log:
Ajax edit provided for multi selection combo box --Jeri
Modified:
vtigercrm/trunk/data/CRMEntity.php
Modified: vtigercrm/trunk/data/CRMEntity.php
==============================================================================
--- vtigercrm/trunk/data/CRMEntity.php (original)
+++ vtigercrm/trunk/data/CRMEntity.php Mon Sep 4 05:33:14 2006
@@ -583,21 +583,14 @@
}
elseif($uitype == 33)
{
- $j = 0;
- $field_list = '';
- if(is_array($this->column_fields[$fieldname]) && count($this->column_fields[$fieldname]) > 0)
- {
- foreach($this->column_fields[$fieldname] as $key=>$multivalue)
- {
- if($j != 0)
- {
- $field_list .= ' , ';
- }
- $field_list .= $multivalue;
- $j++;
- }
- }
- $fldvalue = $field_list;
+ if(is_array($this->column_fields[$fieldname]))
+ {
+ $field_list = implode(' |##| ',$this->column_fields[$fieldname]);
+ }else
+ {
+ $field_list = $this->column_fields[$fieldname];
+ }
+ $fldvalue = $field_list;
}
elseif($uitype == 5 || $uitype == 6 || $uitype ==23)
{
More information about the vtigercrm-commits
mailing list