Dotclear


Ignore:
Timestamp:
08/29/13 09:38:58 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Fixes #472, <tpl:Categories> (new without_empty="0" attribute) and categories' widget ("Include empty categories" checkbox) may includes empty categories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/class.dc.template.php

    r1280 r1610  
    955955               $p .= "\$params['level'] = ".(integer) $attr['level'].";\n"; 
    956956          } 
     957 
     958          if (isset($attr['without_empty']) && ((boolean) $attr['without_empty'] == false)) { 
     959               $p .= '$params[\'without_empty\'] = false;'; 
     960          } 
    957961           
    958962          $res = "<?php\n"; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map