check if HYDRA_DBI is defined in stead of empty string comparison
This commit is contained in:
parent
f2a1fb3937
commit
f1611a7edd
|
@ -66,7 +66,7 @@ sub getHydraPath {
|
|||
|
||||
sub getHydraDBPath {
|
||||
my $db = $ENV{"HYDRA_DBI"};
|
||||
if ($db ne "") {
|
||||
if ( defined $db ) {
|
||||
return $db ;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue