phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_sql.inc.php,1.80.2.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_sql.inc.php,1.80.2.8.2.3,1.80.2.8.2.4
Date: Sat, 03 May 2003 18:16:51 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv13853

Modified Files:
      Tag: Version-0_9_16-branch
        class.accounts_sql.inc.php 
Log Message:
fixed limited display for accounts


Index: class.accounts_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.accounts_sql.inc.php,v
retrieving revision 1.80.2.8.2.3
retrieving revision 1.80.2.8.2.4
diff -C2 -r1.80.2.8.2.3 -r1.80.2.8.2.4
*** class.accounts_sql.inc.php  1 May 2003 23:24:09 -0000       1.80.2.8.2.3
--- class.accounts_sql.inc.php  3 May 2003 22:16:48 -0000       1.80.2.8.2.4
***************
*** 181,185 ****
                                
$this->db->limit_query($sql,$start,__LINE__,__FILE__,$offset);
                        }
!                       elseif ($start)
                        {
                                
$this->db->limit_query($sql,$start,__LINE__,__FILE__);
--- 181,185 ----
                                
$this->db->limit_query($sql,$start,__LINE__,__FILE__,$offset);
                        }
!                       elseif ($start !== '')
                        {
                                
$this->db->limit_query($sql,$start,__LINE__,__FILE__);
***************
*** 202,206 ****
                                );
                        }
!                       $this->total = count($accounts);
                        return $accounts;
                }
--- 202,209 ----
                                );
                        }
!                       $this->db->query("SELECT count(*) FROM phpgw_accounts 
$whereclause");
!                       $this->db->next_record();
!                       $this->total = $this->db->f(0);
! 
                        return $accounts;
                }





reply via email to

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