Skip to content
Snippets Groups Projects
Commit ad20d17e authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

fix a warning if no options present

parent 9b5f01c7
Branches
Tags
No related merge requests found
...@@ -131,7 +131,8 @@ sub new { ...@@ -131,7 +131,8 @@ sub new {
host => $self->{configuration}->{database}->{host}, host => $self->{configuration}->{database}->{host},
username => $self->{configuration}->{database}->{username}, username => $self->{configuration}->{database}->{username},
password => $self->{configuration}->{database}->{password}, password => $self->{configuration}->{database}->{password},
options => [ split(/, */, $self->{configuration}->{database}->{options}) ] options => $self->{configuration}->{database}->{options} ?
[ split(/, */, $self->{configuration}->{database}->{options}) ] : undef,
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment