put back missing !

This commit is contained in:
Isaac Connor 2018-12-03 16:25:03 -05:00
parent d837b42836
commit f2f1e230d1
1 changed files with 1 additions and 1 deletions

View File

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