Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item14227: fixed use of uninitialized value
... in a rating formfield
- Loading branch information
1 parent
36af452
commit 61d5df6
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,7 +132,9 @@ sub getDisplayValue { | |
my @htmlAttrs = (); | ||
|
||
return | ||
"<input type='hidden' disabled autocomplete='off' name='$this->{name}' value='$value' class='jqStars {$this->{attributes}}' " | ||
"<input type='hidden' disabled autocomplete='off' name='$this->{name}' value='" | ||
. ( $value // '' ) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
MichaelDaum
Author
Member
|
||
. "' class='jqStars {$this->{attributes}}' " | ||
. "data-num-stars='" | ||
. $this->{size} . "' " | ||
. $this->getDataValues() . ">"; | ||
|
Are we dropping support of pre-5.10 versions? I guess it must be (defined ? : ) statement here.