Skip to content

Commit

Permalink
Item14227: perl-5.8.8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Nov 22, 2016
1 parent cd9a295 commit 01b1ed3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion JQueryPlugin/lib/Foswiki/Form/Rating.pm
Expand Up @@ -131,9 +131,11 @@ sub getDisplayValue {

my @htmlAttrs = ();

$value = '' unless defined $value;

return
"<input type='hidden' disabled autocomplete='off' name='$this->{name}' value='"
. ( $value // '' )
. $value
. "' class='jqStars {$this->{attributes}}' "
. "data-num-stars='"
. $this->{size} . "' "
Expand Down

0 comments on commit 01b1ed3

Please sign in to comment.