[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] admin/inc class.soaccess_history.inc.php, 1.3.4.2, 1
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] admin/inc class.soaccess_history.inc.php, 1.3.4.2, 1.3.4.3 class.uiaccess_history.inc.php, 1.6.2.2.2.4, 1.6.2.2.2.5 |
Date: |
Wed, 08 Oct 2003 07:07:15 +0000 |
Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv26609
Modified Files:
Tag: Version-0_9_16-branch
class.soaccess_history.inc.php class.uiaccess_history.inc.php
Log Message:
fixes for bugs #5700 & #5759
Index: class.uiaccess_history.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.uiaccess_history.inc.php,v
retrieving revision 1.6.2.2.2.4
retrieving revision 1.6.2.2.2.5
diff -C2 -d -r1.6.2.2.2.4 -r1.6.2.2.2.5
*** class.uiaccess_history.inc.php 25 May 2003 15:41:25 -0000
1.6.2.2.2.4
--- class.uiaccess_history.inc.php 8 Oct 2003 07:07:13 -0000
1.6.2.2.2.5
***************
*** 108,112 ****
if ($total_records)
{
! $percent = round((10000 * ($loggedout /
$total_records)) / 100);
}
else
--- 108,112 ----
if ($total_records)
{
! $percent = round(($loggedout / $total_records)
* 100);
}
else
Index: class.soaccess_history.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.soaccess_history.inc.php,v
retrieving revision 1.3.4.2
retrieving revision 1.3.4.3
diff -C2 -d -r1.3.4.2 -r1.3.4.3
*** class.soaccess_history.inc.php 24 Sep 2003 00:58:34 -0000 1.3.4.2
--- class.soaccess_history.inc.php 8 Oct 2003 07:07:13 -0000 1.3.4.3
***************
*** 52,56 ****
$where = $this->test_account_id($account_id);
! $this->db->query("SELECT COUNT(*) from phpgw_access_log
$where");
$this->db->next_record();
--- 52,56 ----
$where = $this->test_account_id($account_id);
! $this->db->query("SELECT COUNT(*) from phpgw_access_log
$where", __LINE__, __FILE__);
$this->db->next_record();
***************
*** 62,69 ****
if ($account_id)
{
! $where = 'AND account_id=' .
intval($account_id);
}
! $this->db->query("SELECT COUNT(*) FROM phpgw_access_log
$where");
$this->db->next_record();
--- 62,69 ----
if ($account_id)
{
! $where = 'WHERE account_id=' .
intval($account_id) . ' AND lo !=0';
}
! $this->db->query("SELECT COUNT(*) FROM phpgw_access_log
$where", __LINE__, __FILE__);
$this->db->next_record();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] admin/inc class.soaccess_history.inc.php, 1.3.4.2, 1.3.4.3 class.uiaccess_history.inc.php, 1.6.2.2.2.4, 1.6.2.2.2.5,
Dave Hall <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] phpgwapi/setup default_records.inc.php, 1.4.2.6.2.3, 1.4.2.6.2.4
- Next by Date:
[Phpgroupware-cvs] admin/inc class.soaccess_history.inc.php, 1.4, 1.5 class.uiaccess_history.inc.php, 1.9, 1.10
- Previous by thread:
[Phpgroupware-cvs] phpgwapi/setup default_records.inc.php, 1.4.2.6.2.3, 1.4.2.6.2.4
- Next by thread:
[Phpgroupware-cvs] admin/inc class.soaccess_history.inc.php, 1.4, 1.5 class.uiaccess_history.inc.php, 1.9, 1.10
- Index(es):