some bug fixing

This commit is contained in:
JT Smith 2008-05-17 17:23:24 +00:00
parent 086df4ef71
commit b0ec9edf53
4 changed files with 25 additions and 6 deletions

View file

@ -234,6 +234,7 @@ sub getMatchingAssets {
push @placeholders, '?';
push @params, $word;
}
next unless scalar @placeholders;
push @clauses, 'keyword in ('.join(',', @placeholders).')';
}