[Vtigercrm-commits] [vtiger-commits] r9362 - /vtigercrm/trunk/install/populateSeedData.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat Sep 9 04:22:21 EDT 2006
Author: richie
Date: Sat Sep 9 02:21:55 2006
New Revision: 9362
Log:
Postgres fixes by Jens done --By Don
Modified:
vtigercrm/trunk/install/populateSeedData.php
Modified: vtigercrm/trunk/install/populateSeedData.php
==============================================================================
--- vtigercrm/trunk/install/populateSeedData.php (original)
+++ vtigercrm/trunk/install/populateSeedData.php Sat Sep 9 02:21:55 2006
@@ -186,7 +186,7 @@
$query = "insert into vtiger_freetags values ($freetag, '$cloudtag[1]', '$cloudtag[1]')";
$res = $adb->query($query);
- $date = date('YmdHis');
+ $date = $adb->formatDate(date('YmdHis'));
$query_tag = "insert into vtiger_freetagged_objects values ($freetag, 1,".$account->id.", $date, 'Accounts')";
$result = $adb->query($query_tag);
}
@@ -289,7 +289,7 @@
$query = "insert into vtiger_freetags values ($freetag, '$cloudtag[2]', '$cloudtag[2]')";
$res1 = $adb->query($query);
- $date = date('YmdHis');
+ $date = $adb->formatDate(date('YmdHis'));
$query_tag = "insert into vtiger_freetagged_objects values ($freetag, 1,".$contact->id.", $date, 'Contacts')";
$result1 = $adb->query($query_tag);
}
@@ -839,7 +839,7 @@
$query = "insert into vtiger_freetags values ($freetag, '$cloudtag[0]', '$cloudtag[0]')";
$res_inv = $adb->query($query);
- $date = date('YmdHis');
+ $date = $adb->formatDate(date('YmdHis'));
$query_tag = "insert into vtiger_freetagged_objects values ($freetag, 1,".$invoice->id.", $date, 'Invoice')";
$result_inv = $adb->query($query_tag);
}
@@ -996,7 +996,7 @@
$query = "insert into vtiger_freetags values ($freetag, '$cloudtag[3]', '$cloudtag[3]')";
$res_tkt = $adb->query($query);
- $date = date('YmdHis');
+ $date = $adb->formatDate(date('YmdHis'));
$query_tag = "insert into vtiger_freetagged_objects values ($freetag, 1,".$helpdesk->id.", $date, 'HelpDesk')";
$result_tkt = $adb->query($query_tag);
}
More information about the vtigercrm-commits
mailing list