phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: mediadb/inc artist.inc.php,1.6,1.6.2.1


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: mediadb/inc artist.inc.php,1.6,1.6.2.1
Date: Wed, 13 Feb 2002 21:47:26 -0500

Update of /cvsroot/phpgroupware/mediadb/inc
In directory subversions:/tmp/cvs-serv24318

Modified Files:
      Tag: Version-0_9_14-branch
        artist.inc.php 
Log Message:
GNU Patch #129 - use db->limit_query() instead of obsolete db->limit()

Index: artist.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/mediadb/inc/artist.inc.php,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -r1.6 -r1.6.2.1
*** artist.inc.php      17 Jun 2001 20:49:29 -0000      1.6
--- artist.inc.php      14 Feb 2002 02:47:24 -0000      1.6.2.1
***************
*** 49,54 ****
     }
  
-    $limit =$phpgw->db->limit($start);
-    
     if (!$query)
     {
--- 49,52 ----
***************
*** 100,113 ****
     if (!$query)
     {
!        $phpgw->db->query("select * from phpgw_mediadb_artist "
!                          .$ordermethod
!                          ." ".$limit);
     }
     else
     {
!        $phpgw->db->query("select * from phpgw_mediadb_artist "
!                          ."WHERE $qfield like '%$query%' "
!                          .$ordermethod
!                          ." ".$limit);
     }
  
--- 98,111 ----
     if (!$query)
     {
!        $phpgw->db->limit_query("select * from phpgw_mediadb_artist "
!                                .$ordermethod,
!                                $start);
     }
     else
     {
!        $phpgw->db->limit_query("select * from phpgw_mediadb_artist "
!                                ."WHERE $qfield like '%$query%' "
!                                .$ordermethod,
!                                $start);
     }
  




reply via email to

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