diff --git a/admin/inc/class.bolog.inc.php b/admin/inc/class.bolog.inc.php index 25be362043..4e350eba26 100755 --- a/admin/inc/class.bolog.inc.php +++ b/admin/inc/class.bolog.inc.php @@ -68,12 +68,15 @@ reset($rows); while(list($rno,$r)=each($rows)) { +// _debug_array($r['log_msg_date']); +// echo 'Convert: ' . $r['log_date'] . ' -> ' . $GLOBALS['phpgw']->db->from_timestamp($r['log_msg_date']); + unset($r['acount_pwd']); // remove the accounts_pwd - $r['log_date_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_date'])); - $r['log_msg_date_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_msg_date'])); + $r['log_date_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_date']['value'])); + $r['log_msg_date_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_msg_date']['value'])); $r['log_full_name']['value'] = $r['account_lastname']['value'] . ', ' .$r['account_firstname']['value']; - $r['account_lastlogin_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastlogin'])); - $r['account_lastpwd_change_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastpwd_change'])); + $r['account_lastlogin_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastlogin']['value'])); + $r['account_lastpwd_change_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastpwd_change']['value'])); $r['account_lastloginfrom_e']['value'] = 'www.nowhere.com'; $r['log_msg_text']['value'] = lang($r['log_msg_msg']['value'],explode('|',$r['log_msg_parms']['value']));