[Vtigercrm-commits] [vtiger-commits] r4156 - /vtigercrm/trunk/modules/Users/LoginHistory.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 14 03:16:53 EST 2006
Author: richie
Date: Tue Mar 14 01:16:49 2006
New Revision: 4156
Log:
mysql5 support
Modified:
vtigercrm/trunk/modules/Users/LoginHistory.php
Modified: vtigercrm/trunk/modules/Users/LoginHistory.php
==============================================================================
--- vtigercrm/trunk/modules/Users/LoginHistory.php (original)
+++ vtigercrm/trunk/modules/Users/LoginHistory.php Tue Mar 14 01:16:49 2006
@@ -98,7 +98,7 @@
function user_login(&$usname,&$usip,&$intime)
{
//print("GS --> intime=".$intime);
- $query = "Insert into loginhistory values ('','$usname','$usip','',".$this->db->formatDate($intime).",'Signedin')";
+ $query = "Insert into loginhistory values (null,'$usname','$usip',null,".$this->db->formatDate($intime).",'Signedin')";
$result = $this->db->query($query)
or die("MySQL error: ".mysql_error());
More information about the vtigercrm-commits
mailing list