Changeset 13863

Show
Ignore:
Timestamp:
03/21/12 19:38:39 (1 year ago)
Author:
p_lindheimer
Message:

fixes #5695 mal formed html when no classes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.10/amp_conf/htdocs/admin/views/menu.php

    r13119 r13863  
    118118      $items[$mod['name']] = '<li><a href="' . $href . '"' 
    119119          . $target 
    120           . 'class="' . implode(' ', $classes) . '">' 
     120          . (!empty($classes) ? ' class="' . implode(' ', $classes) . '">' : '>') 
    121121          . modgettext::_(ucwords($mod['name']), $mod['module']['rawname']) 
    122122          . '</a></li>';