Dotclear

Changeset 1611:1c463226bd1c


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

Replace without_empty attribute of <tpl:Categories> by with_empty, avoiding double-negation. Addresses #472

File:
1 edited

Legend:

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

    r1610 r1611  
    956956          } 
    957957 
    958           if (isset($attr['without_empty']) && ((boolean) $attr['without_empty'] == false)) { 
     958          if (isset($attr['with_empty']) && ((boolean) $attr['with_empty'] == true)) { 
    959959               $p .= '$params[\'without_empty\'] = false;'; 
    960960          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map