svncommit
2005-10-20 53560c521e594d6047f58a25ccbc266c56bbcf05
program/steps/addressbook/list.inc
@@ -6,7 +6,7 @@
 |                                                                       |
 | This file is part of the RoundCube Webmail client                     |
 | Copyright (C) 2005, RoundCube Dev. - Switzerland                      |
 | All rights reserved.                                                  |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | PURPOSE:                                                              |
 |   Send contacts list to client (as remote response)                   |
@@ -43,12 +43,11 @@
$sql_result = $DB->query(sprintf("SELECT * FROM %s
                                  WHERE  del!='1'
                                  AND    user_id=%d
                                  ORDER BY name
                                  LIMIT %d, %d",
                                  ORDER BY name",
                                 get_table_name('contacts'),
                                 $_SESSION['user_id'],
                                 $_SESSION['user_id']),
                                 $start_row,
                                 $CONFIG['pagesize']));
                                 $CONFIG['pagesize']);
                                 
$commands .= rcmail_js_contacts_list($sql_result);