Index: trunk/extensions/SemanticMediaWiki/includes/SMW_PageLister.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | * |
12 | 12 | * Some code adapted from CategoryPage.php |
13 | 13 | * |
14 | | - * @file SMW_OrderedListPage.php |
| 14 | + * @file SMW_PageLister.php |
15 | 15 | * @ingroup SMW |
16 | 16 | * |
17 | 17 | * @author Nikolas Iwan |
— | — | @@ -192,7 +192,7 @@ |
193 | 193 | |
194 | 194 | if ( count ( $this->mDiWikiPages ) > $cutoff ) { |
195 | 195 | return self::getColumnList( $start, $end, $this->mDiWikiPages, $this->mDiProperty, $this->mSkin ); |
196 | | - } elseif ( count( $diWikiPages ) > 0 ) { |
| 196 | + } elseif ( count( $this->mDiWikiPages ) > 0 ) { |
197 | 197 | return self::getShortList( $start, $end, $this->mDiWikiPages, $this->mDiProperty, $this->mSkin ); |
198 | 198 | } else { |
199 | 199 | return ''; |