phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] admin/inc class.uiaccounts.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] admin/inc class.uiaccounts.inc.php
Date: Tue, 08 May 2007 10:55:46 +0000

CVSROOT:        /sources/phpgroupware
Module name:    admin
Changes by:     Sigurd Nes <sigurdne>   07/05/08 10:55:46

Modified files:
        inc            : class.uiaccounts.inc.php 

Log message:
        nextmatch

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/admin/inc/class.uiaccounts.inc.php?cvsroot=phpgroupware&r1=1.70&r2=1.71

Patches:
Index: class.uiaccounts.inc.php
===================================================================
RCS file: /sources/phpgroupware/admin/inc/class.uiaccounts.inc.php,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -b -r1.70 -r1.71
--- class.uiaccounts.inc.php    3 Feb 2007 22:22:15 -0000       1.70
+++ class.uiaccounts.inc.php    8 May 2007 10:55:46 -0000       1.71
@@ -9,7 +9,7 @@
        *  Free Software Foundation; either version 2 of the License, or (at 
your  *
        *  option) any later version.                                           
   *
        
\**************************************************************************/
-       /* $Id: class.uiaccounts.inc.php,v 1.70 2007/02/03 22:22:15 sigurdne 
Exp $ */
+       /* $Id: class.uiaccounts.inc.php,v 1.71 2007/05/08 10:55:46 sigurdne 
Exp $ */
 
        class uiaccounts
        {
@@ -138,7 +138,7 @@
 
                        $nm = array
                        (
-                               'start_record'  => $start,
+                               'start' => $start,
                                'num_records'   => count($account_info),
                                'all_records'   => $total,
                                'link_data'             => $link_data
@@ -176,7 +176,8 @@
 
                        //this is a work around hack for the ugly nextmatch code
                        $query = $GLOBALS['query'] = isset($_POST['query']) ? 
$_POST['query'] : '';
-                       $start = isset($_POST['start']) ? (int) $_POST['start'] 
: '';
+
+                       $start = (int) isset($_REQUEST['start']) ? 
$_REQUEST['start']: 0;
 
                        if(isset($_GET['order']))
                        {
@@ -289,7 +290,7 @@
 
                        $nm = array
                        (
-                               'start_record'  => $start,
+                               'start'                 => $start,
                                'num_records'   => count($account_info),
                                'all_records'   => $total,
                                'link_data'             => $link_data




reply via email to

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