mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Quiet a warning when our test doesn't have an associated query.
This commit is contained in:
1 parent
a2a2883a42
commit
a722e11b56
1 file changed
+1
-1
+1
-1
@@ -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] : "");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user