Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QP_List.php |
— | — | @@ -36,11 +36,9 @@ |
37 | 37 | $this->mUserParam = trim($params['userparam']); |
38 | 38 | } |
39 | 39 | if (array_key_exists('columns', $params)) { |
40 | | - if ( ('ul' == $this->mFormat) || ('ol' == $this->mFormat) ) { |
41 | | - $columns = trim($params['columns']); |
42 | | - // allow a maximum of 10 columns |
43 | | - if ($columns > 1 && $columns <= 10) |
44 | | - $this->mColumns = (int)$columns; |
| 40 | + $columns = trim($params['columns']); |
| 41 | + if ($columns > 1 && $columns <= 10) { // allow a maximum of 10 columns |
| 42 | + $this->mColumns = (int)$columns; |
45 | 43 | } |
46 | 44 | } |
47 | 45 | } |