fix yes/no control, also fix turn off is group admin setting
This commit is contained in:
parent
0b2b83c34f
commit
38425432f0
2 changed files with 4 additions and 2 deletions
|
|
@ -13,6 +13,7 @@
|
|||
- fix ordering of statuses in In/Out board
|
||||
- fix package importing
|
||||
- remove caching behavior, will always send content to the client if they ask
|
||||
- fix: can't turn off Is Group Admin setting
|
||||
|
||||
7.4.5
|
||||
- fix: Apostrophy incorrectly escaped as double quote in some places
|
||||
|
|
|
|||
|
|
@ -97,8 +97,9 @@ Renders and input tag of type radio.
|
|||
=cut
|
||||
|
||||
sub toHtml {
|
||||
my $self = shift;
|
||||
my $value = $self->fixMacros($self->fixQuotes($self->fixSpecialCharacters($self->get("value")))) || '';
|
||||
my$self = shift;
|
||||
my $value = $self->get('value');
|
||||
$value = defined $value ? $self->fixMacros($self->fixQuotes($self->fixSpecialCharacters($value))) : '';
|
||||
my $checkedText = $self->get("checked") ? ' checked="checked"' : '';
|
||||
my $idText = $self->get('id') ? ' id="'.$self->get('id').'" ' : '';
|
||||
return '<input type="radio" name="'.$self->get("name").'" value="'.$value.'"'.$idText.$checkedText.' '.($self->get("extras")||'').' />';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue