diff --git a/CHANGELOG.md b/CHANGELOG.md index 9778be6fd..0b91faa49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ ## Changelog -#### Version 18.46-beta3 (24 April, 2017) -Fixed bugs [#685](https://github.com/qooob/authentic-theme/issues/685) [#723](https://github.com/qooob/authentic-theme/issues/723) [#51917](https://www.virtualmin.com/node/51917) +#### Version 18.46-beta4 (25 April, 2017) +Fixed bugs [#685](https://github.com/qooob/authentic-theme/issues/685) [#723](https://github.com/qooob/authentic-theme/issues/723) [#726](https://github.com/qooob/authentic-theme/issues/726) [#51917](https://www.virtualmin.com/node/51917) #### Version 18.45 (21 April, 2017) * Added ability to install patched version of the theme directly from GitHub, to get early access on the new features [#707](https://github.com/qooob/authentic-theme/issues/707) diff --git a/authentic.pm b/authentic.pm index 55d34e38a..cec87dcdf 100644 --- a/authentic.pm +++ b/authentic.pm @@ -669,7 +669,7 @@ sub theme_ui_yesno_radio my ( $name, $value, $yes, $no, $dis ) = @_; $yes = 1 if ( !defined($yes) ); $no = 0 if ( !defined($no) ); - if ( $value =~ /^[0-9,.E]+$/ ) { + if ( $value =~ /^[0-9,.E]+$/ || !$value) { $value = int($value); } return ui_radio( $name, $value, [ [ $yes, $text{'yes'} ], [ $no, $text{'no'} ] ], $dis ); diff --git a/version b/version index 2d6657b43..a145518fa 100644 --- a/version +++ b/version @@ -1 +1 @@ -18.45-git-201704241356 +18.45-git-201704251100