Index: trunk/extensions/SubPageList/SubPageList.class.php |
— | — | @@ -301,7 +301,7 @@ |
302 | 302 | foreach( $titles as $subPageTitle ) { |
303 | 303 | $level = substr_count( $subPageTitle->getFullText(), '/' ) - $parentLevel; |
304 | 304 | |
305 | | - if ( $parameters['kidsonly'] || $level < 2 ) { |
| 305 | + if ( !$parameters['kidsonly'] || $level < 2 ) { |
306 | 306 | |
307 | 307 | if ( $parameters['showpage'] ) { |
308 | 308 | $level++; |