fix error report

This commit is contained in:
Isaac Connor 2016-02-10 13:29:55 -05:00
parent b7256a6891
commit ddb377245e
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ sub getFilters
push( @filters, $filter );
}
$sth->finish();
if ( @sql_values ) {
if ( ! @filters ) {
Error("No filter found for $sql with values(@sql_values)");
} else {
Debug( "Got " . @filters . " filters" );