[Vtigercrm-commits] [vtiger-commits] r9047 - /vtigercrm/trunk/data/CRMEntity.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Aug 21 05:39:37 EDT 2006


Author: richie
Date: Mon Aug 21 03:39:07 2006
New Revision: 9047

Log:
plugin_save variable checked for inserting into seactiivityrel --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 Aug 21 03:39:07 2006
@@ -79,10 +79,9 @@
 		//added by raju
 		elseif($table_name=="vtiger_seactivityrel" )
 		{
-			if($module=="Emails" && $_REQUEST['smodule']!='webmails')
-			//modified by Richie as raju's implementation broke the feature for addition of webmail to vtiger_crmentity.need to be more careful in future while integrating code
-			//if($_REQUEST['smodule']!='webmails' && $_REQUEST['smodule'] != '')
-			{
+		  //modified by Richie as raju's implementation broke the feature for addition of webmail to vtiger_crmentity.need to be more careful in future while integrating code
+			if($module=="Emails" && $_REQUEST['smodule']!='webmails' && (!$this->plugin_save))
+		  {
 				if($_REQUEST['currentid']!='')
 				{
 					$actid=$_REQUEST['currentid'];





More information about the vtigercrm-commits mailing list