Merge branch 'master' into storageareas

This commit is contained in:
Isaac Connor 2018-12-03 16:25:28 -05:00
commit 0c7f91c38a
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ sub zmDbGetMonitor {
return undef;
}
my $res = $sth->execute($id);
if ( $res ) {
if ( !$res ) {
Error("Can't execute '$sql': ".$sth->errstr());
return undef;
}