mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-28 03:04:15 +00:00
Quiet a warning when our test doesn't have an associated query.
This commit is contained in:
parent
a2a2883a42
commit
a722e11b56
@ -216,7 +216,7 @@ sub get_sql_value {
|
||||
|
||||
my $results = $dbh->selectall_arrayref($sql);
|
||||
print STDERR "RESULT for $varname is ", $results->[0][0], "\n" if ( $debug );
|
||||
$values->{$varname} = $results->[0][0];
|
||||
$values->{$varname} = (defined($results->[0][0]) ? $results->[0][0] : "");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user