Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialQueryCreator.php |
— | — | @@ -156,6 +156,8 @@ |
157 | 157 | } |
158 | 158 | |
159 | 159 | } |
| 160 | + } else { |
| 161 | + $po['mainlabel'] = ''; // enables mainlabel parameter |
160 | 162 | } |
161 | 163 | if ( is_array( $category_values ) ) { |
162 | 164 | foreach ( $category_values as $key => $value ) { |