[Vtigercrm-commits] [vtiger-commits] r4842 - /vtigercrm/branches/4.2_postgresql_integration/modules/Users/LoginHistory.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 3 13:44:59 EDT 2006
Author: allanbush
Date: Mon Apr 3 11:44:57 2006
New Revision: 4842
Log:
Added select column aliases to fix login history page. Refs #17.
Modified:
vtigercrm/branches/4.2_postgresql_integration/modules/Users/LoginHistory.php
Modified: vtigercrm/branches/4.2_postgresql_integration/modules/Users/LoginHistory.php
==============================================================================
--- vtigercrm/branches/4.2_postgresql_integration/modules/Users/LoginHistory.php (original)
+++ vtigercrm/branches/4.2_postgresql_integration/modules/Users/LoginHistory.php Mon Apr 3 11:44:57 2006
@@ -126,7 +126,7 @@
// Determine if the account name is present in the where clause.
// $query = "SELECT * from loginhistory order by login_time";
global $current_user;
- $query = "SELECT user_name,user_ip,".$this->db->getDBDateString("login_time")." login_time,".$this->db->getDBDateString("logout_time")." logout_time,status FROM $this->table_name ";
+ $query = "SELECT user_name,user_ip,".$this->db->getDBDateString("login_time")." AS login_time,".$this->db->getDBDateString("logout_time")." AS logout_time,status FROM $this->table_name ";
if($where != "")
{
if(!is_admin($current_user))
More information about the vtigercrm-commits
mailing list