Set a default ID on eval without id
This commit is contained in:
parent
5b1382fc71
commit
c6352b8897
2 changed files with 2 additions and 2 deletions
|
|
@ -354,7 +354,7 @@ sub new ($$;$)
|
|||
{
|
||||
my $class = shift;
|
||||
my $self = {
|
||||
id => shift,
|
||||
id => shift // "",
|
||||
type => shift // "test",
|
||||
values => {},
|
||||
logs => {},
|
||||
|
|
|
|||
Reference in a new issue