svncommit
2005-10-20 53560c521e594d6047f58a25ccbc266c56bbcf05
program/steps/addressbook/func.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:                                                              |
 |   Provide addressbook functionality and GUI objects                   |
@@ -59,12 +59,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']);
    }
  else
    $sql_result = NULL;