$type =~ s/s$//; # nice work-around.
- if ($type eq "value") {
+ if ($type eq 'value') {
# search by value.
- @list = &::searchTable("factoids", "factoid_key", "factoid_value", $str);
+ @list = &::searchTable('factoids', 'factoid_key', 'factoid_value', $str);
} else {
# search by key.
- @list = &::searchTable("factoids", "factoid_key", "factoid_key", $str);
+ @list = &::searchTable('factoids', 'factoid_key', 'factoid_key', $str);
}
@list=grep(!/\#DEL\#$/,@list) if (scalar(@list) > $maxshow);