Changeset 1582 for devel/profile

Show
Ignore:
Timestamp:
04/22/08 07:51:08 (7 months ago)
Author:
misja
Message:

Misja Hoebe <misja@curverider.co.uk> Fixes #342, Profile edit page displays empty categories, thanks kevin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/profile/profile.class.php

    r1563 r1582  
    134134                    foreach($profilecat as $cat => $html) { 
    135135                         
    136                         $body .= "<div class=\"tabbertab\" title=\"$cat\">"; 
    137                         $body .= $html
    138                         $body .= "</div>"
    139                          
    140                    
    141                
    142                  
     136                        if ($html) { 
     137                            $body .= "<div class=\"tabbertab\" title=\"$cat\">"
     138                            $body .= $html
     139                            $body .= "</div>"; 
     140                       
     141                   
     142                } 
    143143            } 
    144144