alecpl
2010-03-24 d8c440c03f3c66b93793c40e54d3c9329d9b5ea9
program/include/rcube_contacts.php
@@ -15,7 +15,7 @@
 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
 +-----------------------------------------------------------------------+
 $Id: rcube_contacts.inc 328 2006-08-30 17:41:21Z thomasb $
 $Id$
*/
@@ -141,6 +141,7 @@
   *
   * @param array   List of fields to search in
   * @param string  Search value
   * @param boolean True for strict (=), False for partial (LIKE) matching
   * @param boolean True if results are requested, False if count only
   * @return Indexed list of contact records and 'count' value
   */
@@ -271,7 +272,7 @@
         VALUES (".intval($this->user_id).", ".$this->db->now().", 0, ".join(', ', $a_insert_values).")"
        );
        
      $insert_id = $this->db->insert_id(get_sequence_name('contacts'));
      $insert_id = $this->db->insert_id('contacts');
    }
    return $insert_id;