Ignore:
Timestamp:
Nov 19, 2010 2:12:24 PM (3 years ago)
Author:
thomasb
Message:

Improve vcard saving; use callback functions to render certain contact fields; add button to delete a contact field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-addressbook/program/include/rcube_contacts.php

    r4231 r4239  
    501501            list($field, $section) = explode(':', $key); 
    502502            foreach ((array)$values as $value) { 
    503                 if (strlen($value) || is_array($value)) 
     503                if (is_array($value) || strlen($value)) 
    504504                    $vcard->set($field, $value, strtoupper($section)); 
    505505            } 
Note: See TracChangeset for help on using the changeset viewer.