[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.db_pgsql.inc.php, 1.30.2.1.2.5, 1
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.db_pgsql.inc.php, 1.30.2.1.2.5, 1.30.2.1.2.6 |
Date: |
Thu, 13 Nov 2003 17:09:37 +0000 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv18422
Modified Files:
Tag: Version-0_9_16-branch
class.db_pgsql.inc.php
Log Message:
bug #5923
Index: class.db_pgsql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.db_pgsql.inc.php,v
retrieving revision 1.30.2.1.2.5
retrieving revision 1.30.2.1.2.6
diff -C2 -d -r1.30.2.1.2.5 -r1.30.2.1.2.6
*** class.db_pgsql.inc.php 10 Oct 2003 05:43:24 -0000 1.30.2.1.2.5
--- class.db_pgsql.inc.php 13 Nov 2003 17:09:35 -0000 1.30.2.1.2.6
***************
*** 185,193 ****
}
! function limit_query($Query_String, $offset, $line = '', $file
= '', $num_rows = '')
{
! if (! $num_rows)
{
! $num_rows =
$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'];
}
--- 185,197 ----
}
! function limit_query($Query_String, $offset, $line = '', $file
= '', $num_rows = 0)
{
! $offset = intval($offset);
! $num_rows = intval($num_rows);
!
! if ($num_rows == 0)
{
! $maxmatches =
$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'];
! $num_rows =
(isset($maxmatches)?intval($maxmatches):15);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.db_pgsql.inc.php, 1.30.2.1.2.5, 1.30.2.1.2.6,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] filemanager preferences.php,1.9,1.10
- Next by Date:
[Phpgroupware-cvs] phpgwapi/inc class.categories.inc.php, 1.117, 1.118 class.db_mysql.inc.php, 1.39, 1.40 class.db_pgsql.inc.php, 1.36, 1.37
- Previous by thread:
[Phpgroupware-cvs] filemanager preferences.php,1.9,1.10
- Next by thread:
[Phpgroupware-cvs] phpgwapi/inc class.categories.inc.php, 1.117, 1.118 class.db_mysql.inc.php, 1.39, 1.40 class.db_pgsql.inc.php, 1.36, 1.37
- Index(es):