Ignore:
Timestamp:
Oct 20, 2005 12:58:34 PM (8 years ago)
Author:
sparc
Message:

added DB LIMIT abstraction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/addressbook/list.inc

    r8 r47  
    4444                                  WHERE  del!='1' 
    4545                                  AND    user_id=%d 
    46                                   ORDER BY name 
    47                                   LIMIT %d, %d", 
     46                                  ORDER BY name", 
    4847                                 get_table_name('contacts'), 
    49                                  $_SESSION['user_id'], 
     48                                 $_SESSION['user_id']), 
    5049                                 $start_row, 
    51                                  $CONFIG['pagesize'])); 
     50                                 $CONFIG['pagesize']); 
    5251                                  
    5352$commands .= rcmail_js_contacts_list($sql_result); 
Note: See TracChangeset for help on using the changeset viewer.