[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.db_mysql.inc.php, 1.30.2.3.2.6, 1
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.db_mysql.inc.php, 1.30.2.3.2.6, 1.30.2.3.2.7 |
Date: |
Thu, 13 Nov 2003 17:09:20 +0000 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv18368
Modified Files:
Tag: Version-0_9_16-branch
class.db_mysql.inc.php
Log Message:
bug #5923
Index: class.db_mysql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.db_mysql.inc.php,v
retrieving revision 1.30.2.3.2.6
retrieving revision 1.30.2.3.2.7
diff -C2 -d -r1.30.2.3.2.6 -r1.30.2.3.2.7
*** class.db_mysql.inc.php 24 Oct 2003 02:47:15 -0000 1.30.2.3.2.6
--- class.db_mysql.inc.php 13 Nov 2003 17:09:17 -0000 1.30.2.3.2.7
***************
*** 155,163 ****
// public: perform a query with limited result set
! function limit_query($Query_String, $offset, $line = '', $file
= '', $num_rows = '')
{
! if (! $num_rows)
{
! $num_rows =
$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'];
}
--- 155,167 ----
// public: perform a query with limited result set
! 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_mysql.inc.php, 1.30.2.3.2.6, 1.30.2.3.2.7,
Bettina Gille <address@hidden> <=
- Prev 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
- Next by Date:
[Phpgroupware-cvs] email/templates/default compose.tpl, 1.5.2.2, 1.5.2.3 message_main.tpl, 1.11.2.1, 1.11.2.2
- Previous 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
- Next by thread:
[Phpgroupware-cvs] email/templates/default compose.tpl, 1.5.2.2, 1.5.2.3 message_main.tpl, 1.11.2.1, 1.11.2.2
- Index(es):