diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-12-03 16:54:12 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-12-03 16:54:12 +0000 |
| commit | 2dc87919396cd68a07a20164d0816761dca909ea (patch) | |
| tree | 7fc050b1e1c2215e1c8c5d43af1f45c6f33eb498 /roundcubemail/program/steps/addressbook/list.inc | |
| parent | aec4bd921d413dd835f21f4ab6765fab7e882d89 (diff) | |
Re-design of caching (new database table added\!); some bugfixes; Postgres support
git-svn-id: https://svn.roundcube.net/trunk@88 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook/list.inc')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/list.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/addressbook/list.inc b/roundcubemail/program/steps/addressbook/list.inc index ecb634b6f..0aa4873b3 100644 --- a/roundcubemail/program/steps/addressbook/list.inc +++ b/roundcubemail/program/steps/addressbook/list.inc @@ -24,7 +24,7 @@ $REMOTE_REQUEST = TRUE; // count contacts for this user $sql_result = $DB->query("SELECT COUNT(contact_id) AS rows FROM ".get_table_name('contacts')." - WHERE del<>'1' + WHERE del<>1 AND user_id=?", $_SESSION['user_id']); @@ -40,7 +40,7 @@ $start_row = ($CONTACTS_LIST['page']-1) * $CONFIG['pagesize']; // get contacts from DB $sql_result = $DB->limitquery("SELECT * FROM ".get_table_name('contacts')." - WHERE del<>'1' + WHERE del<>1 AND user_id=? ORDER BY name", $start_row, |
