[Vtigercrm-commits] [vtiger-commits] r9555 - /vtigercrm/branches/5.0.1/data/SugarBean.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Oct 4 08:50:36 EDT 2006
Author: richie
Date: Wed Oct 4 06:50:33 2006
New Revision: 9555
Log:
* Removed the quotes for the date_entered and date_modified field values because single quotes will be added in the function adodb's formatString which throws error when we save import mapping
Modified:
vtigercrm/branches/5.0.1/data/SugarBean.php
Modified: vtigercrm/branches/5.0.1/data/SugarBean.php
==============================================================================
--- vtigercrm/branches/5.0.1/data/SugarBean.php (original)
+++ vtigercrm/branches/5.0.1/data/SugarBean.php Wed Oct 4 06:50:33 2006
@@ -58,7 +58,7 @@
}
//$this->date_modified = $this->db->formatDate(date('YmdHis'));
- $this->date_modified = $this->db->formatDate(date('YmdHis'));
+ $this->date_modified = date('YmdHis');
if (isset($current_user)) $this->modified_user_id = $current_user->id;
if($isUpdate)
@@ -68,7 +68,7 @@
else
{
//$this->date_entered = $this->db->formatDate(date('YmdHis'));
- $this->date_entered = $this->db->formatDate(date('YmdHis'));
+ $this->date_entered = date('YmdHis');
if($this->new_schema &&
$this->new_with_id == false)
More information about the vtigercrm-commits
mailing list