cfpb / regulations-site

(DEPRECATED) Web interface for viewing U.S. federal regulations and other regulatory information
Other
28 stars 43 forks source link

Account for reserved subparts, which don't have children #663

Closed cmc333333 closed 10 years ago

cmc333333 commented 10 years ago

Ran into a reg with a reserved subpart, which meant that it didn't have children. As a result, it didn't have a TOC entry, which caused this to fail.

Solution of using an empty list makes the entry still appear in the TOC, just without children.