phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc class.nextmatchs.inc.php


From: Bettina Gille
Subject: [Phpgroupware-cvs] phpgwapi/inc class.nextmatchs.inc.php
Date: Mon, 13 Nov 2006 12:47:06 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Bettina Gille <ceb>     06/11/13 12:47:06

Modified files:
        inc            : class.nextmatchs.inc.php 

Log message:
        fix xslt paging

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.nextmatchs.inc.php?cvsroot=phpgwapi&r1=1.80&r2=1.81

Patches:
Index: class.nextmatchs.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.nextmatchs.inc.php,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- class.nextmatchs.inc.php    19 Sep 2006 13:27:13 -0000      1.80
+++ class.nextmatchs.inc.php    13 Nov 2006 12:47:06 -0000      1.81
@@ -8,7 +8,7 @@
        * @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage gui
-       * @version $Id: class.nextmatchs.inc.php,v 1.80 2006/09/19 13:27:13 
skwashd Exp $
+       * @version $Id: class.nextmatchs.inc.php,v 1.81 2006/11/13 12:47:06 ceb 
Exp $
        */
 
        /**
@@ -830,9 +830,9 @@
                        }
                }
 
-               function show_hits($total_records='',$start=0)
+               function show_hits($total_records = 0,$start = 0,$num_records = 
0)
                {
-                       if ($total_records > $this->maxmatches)
+                       if ($total_records > $this->maxmatches && 
$total_records != $num_records)
                        {
                                if ($start + $this->maxmatches > $total_records)
                                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]