Skip to content

Commit 41efb2c

Browse files
committed
Merge tag '2.0.1'
Bugfix release Fixes #7, MetaModels/core#1111 - radio button widget was not shown.
2 parents c137649 + 792b970 commit 41efb2c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ php:
55
- "5.5"
66
- "5.6"
77
- "7.0"
8+
- "7.1"
89

910
env:
1011
- CONTAO_VERSION=~3.5.5

src/MetaModels/Filter/Setting/Checkbox.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of MetaModels/filter_checkbox.
55
*
6-
* (c) 2012-2016 The MetaModels team.
6+
* (c) 2012-2017 The MetaModels team.
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -18,7 +18,8 @@
1818
* @author Andreas Nölke <zero@brothers-project.de>
1919
* @author David Molineus <mail@netzmacht.de>
2020
* @author Stefan Heimes <stefan_heimes@hotmail.com>
21-
* @copyright 2012-2016 The MetaModels team.
21+
* @author Ingolf Steinhardt <info@e-spin.de>
22+
* @copyright 2012-2017 The MetaModels team.
2223
* @license https://github.com/MetaModels/filter_checkbox/blob/master/LICENSE LGPL-3.0
2324
* @filesource
2425
*/
@@ -130,7 +131,7 @@ public function getParameterFilterWidgets(
130131
$arrWidget = array
131132
(
132133
'label' => $this->prepareLabel($objAttribute),
133-
'inputType' => ($this->get('ynmode') == 'radio' ?: 'checkbox'),
134+
'inputType' => ($this->get('ynmode') == 'radio' ? 'radio' : 'checkbox'),
134135
'eval' => array(
135136
'colname' => $objAttribute->getColName(),
136137
'urlparam' => $this->getParamName(),

0 commit comments

Comments
 (0)