bgarrels / textpattern

Automatically exported from code.google.com/p/textpattern
0 stars 0 forks source link

Attribute values of 0 don't render attribute #416

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
See http://forum.textpattern.com/viewtopic.php?id=41488

Presumably join_atts() is the culprit and:

  $flags & TEXTPATTERN_ATTS_STRIP_EMPTY && !$value

should be more vigorous in its use of 'not a value'. Also affects public tags 
trying to use attribute values of 0. Will investigate.

Original issue reported on code.google.com by stefdawson on 1 Jul 2014 at 10:51