Changeset 03eb13f in github


Ignore:
Timestamp:
Jul 17, 2011 3:01:28 PM (2 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
3a9f795
Parents:
4d9f620
Message:

Small improvements and codestyle

Location:
program
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_contacts.php

    r63fda8a r03eb13f  
    301301        } 
    302302 
    303         foreach ($required as $col) { 
     303        foreach (array_intersect($required, $this->table_cols) as $col) { 
    304304            $and_where[] = $this->db->quoteIdentifier($col).' <> '.$this->db->quote(''); 
    305305        } 
  • program/steps/mail/autocomplete.inc

    r930d385 r03eb13f  
    3838  } 
    3939} 
    40 else if ($book_types && $search = get_input_value('_search', RCUBE_INPUT_GPC, true)) { 
     40else if ($book_types && ($search = get_input_value('_search', RCUBE_INPUT_GPC, true))) { 
    4141  $contacts = array(); 
    4242  $books_num = count($book_types); 
Note: See TracChangeset for help on using the changeset viewer.