[Vtigercrm-commits] [vtiger-commits] r9984 - /vtigercrm/branches/5.0.3/data/CRMEntity.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat Dec 16 03:24:03 EST 2006
Author: richie
Date: Sat Dec 16 01:23:58 2006
New Revision: 9984
Log:
* Added condition to avoid function call to getDBInsertDateValue in ajax save, Fixes #2731
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 Sat Dec 16 01:23:58 2006
@@ -420,7 +420,8 @@
}
else
{
- $fldvalue = getDBInsertDateValue($this->column_fields[$fieldname]);
+ //Added to avoid function call getDBInsertDateValue in ajax save
+ $fldvalue = (($_REQUEST['ajxaction'] == 'DETAILVIEW')?$this->column_fields[$fieldname]:getDBInsertDateValue($this->column_fields[$fieldname]));
}
}
elseif($uitype == 7)
More information about the vtigercrm-commits
mailing list