[Vtigercrm-commits] [vtiger-commits] r4015 - /vtigercrm/trunk/include/utils/EditViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Feb 28 09:32:56 EST 2006


Author: saraj
Date: Tue Feb 28 07:32:52 2006
New Revision: 4015

Log:
image name issue has been fixed

Modified:
    vtigercrm/trunk/include/utils/EditViewUtils.php

Modified: vtigercrm/trunk/include/utils/EditViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/EditViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/EditViewUtils.php Tue Feb 28 07:32:52 2006
@@ -441,7 +441,7 @@
 		$fieldvalue[] = $contact_name;
 		$fieldvalue[] = $value;
 	}
-	elseif($uitype == 61 || $uitype == 69)
+	elseif($uitype == 61)
 	{
 		global $current_user;
 		if($value != '')
@@ -457,6 +457,21 @@
 		$editview_label[]=$mod_strings[$fieldlabel];
 		$fieldvalue[] = $filename;
 		$fieldvalue[] = $value;
+	}
+	elseif($uitype == 69)
+	{
+		$editview_label[]=$mod_strings[$fieldlabel];
+		$image_lists=explode("###",$value);
+		if(count($image_lists) > 1)
+		{
+			foreach($image_lists as $image)
+			{
+				$fieldvalue[] = $image;
+			}
+		}else
+		{
+			$fieldvalue[] = $value;
+		}
 	}
 	elseif($uitype == 62)
 	{





More information about the vtigercrm-commits mailing list