[Vtigercrm-commits] [vtiger-commits] r9364 - /vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat Sep 9 04:29:57 EDT 2006
Author: richie
Date: Sat Sep 9 02:29:30 2006
New Revision: 9364
Log:
Postgres fixes by Jens done --By Don
Modified:
vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php
Modified: vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php (original)
+++ vtigercrm/trunk/modules/Leads/LeadConvertToEntities.php Sat Sep 9 02:29:30 2006
@@ -45,8 +45,8 @@
//get all the lead related columns
$row = $focus->column_fields;
-$date_entered = date('YmdHis');
-$date_modified = date('YmdHis');
+$date_entered = $adb->formatDate(date('YmdHis'));
+$date_modified = $adb->formatDate(date('YmdHis'));
/** Function for getting the custom values from leads and saving to vtiger_account/contact/potential custom vtiger_fields.
* @param string $type - Field Type (eg: text, list)
@@ -315,8 +315,8 @@
-$date_entered = date('YmdHis');
-$date_modified = date('YmdHis');
+$date_entered = $adb->formatDate(date('YmdHis'));
+$date_modified = $adb->formatDate(date('YmdHis'));
//Saving Contact - starts
$crmcontactid = $adb->getUniqueID("vtiger_crmentity");
@@ -376,8 +376,9 @@
if(! isset($createpotential) || ! $createpotential == "on")
{
$log->info("createpotential is not set");
- $date_entered = date('YmdHis');
- $date_modified = date('YmdHis');
+
+ $date_entered = $adb->formatDate(date('YmdHis'));
+ $date_modified = $adb->formatDate(date('YmdHis'));
$oppid = $adb->getUniqueID("vtiger_crmentity");
More information about the vtigercrm-commits
mailing list