Changeset 5344 in subversion


Ignore:
Timestamp:
Oct 18, 2011 9:58:18 AM (20 months ago)
Author:
alec
Message:
  • Hide contact tabs with no content
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/addressbook/func.inc

    r5308 r5344  
    663663            } 
    664664 
     665            if (empty($content)) 
     666                continue; 
     667 
    665668            // also render add-field selector 
    666669            if ($edit_mode) 
     
    673676        } 
    674677 
    675         $out .= html::tag('fieldset', null, html::tag('legend', null, Q($fieldset['name'])) . $content) ."\n"; 
     678        if ($content) 
     679            $out .= html::tag('fieldset', null, html::tag('legend', null, Q($fieldset['name'])) . $content) ."\n"; 
    676680    } 
    677681 
Note: See TracChangeset for help on using the changeset viewer.