[Vtigercrm-commits] [vtiger-commits] r9939 - /vtigercrm/branches/5.0.3/data/CRMEntity.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Dec 5 05:02:41 EST 2006
Author: richie
Date: Tue Dec 5 03:02:37 2006
New Revision: 9939
Log:
Error while saving an event in edit mode
Modified:
vtigercrm/branches/5.0.3/data/CRMEntity.php
Modified: vtigercrm/branches/5.0.3/data/CRMEntity.php
==============================================================================
--- vtigercrm/branches/5.0.3/data/CRMEntity.php (original)
+++ vtigercrm/branches/5.0.3/data/CRMEntity.php Tue Dec 5 03:02:37 2006
@@ -892,6 +892,12 @@
function insertIntoGroupTable($module)
{
+ global $log;
+
+ if($module == 'Events')
+ {
+ $module = 'Calendar';
+ }
if($this->mode=='edit')
{
@@ -900,12 +906,14 @@
{
if($_REQUEST['assigntype'] == 'T')
{
- $groupname = $_REQUEST['assigned_group_name'];
+ $groupname = $_REQUEST['assigned_group_name'];
+
+
updateModuleGroupRelation($module,$this->id,$groupname);
}
else
- {
+ {
updateModuleGroupRelation($module,$this->id,'');
}
@@ -913,8 +921,6 @@
}
else
{
-
-
$groupname = $_REQUEST['assigned_group_name'];
if($_REQUEST['assigntype'] == 'T')
{
More information about the vtigercrm-commits
mailing list