This commit is contained in:
Roy Johnson 2006-04-16 00:06:38 +00:00
parent 3fad0b078f
commit 41e5c30ee4

View file

@ -2132,6 +2132,11 @@ sub view {
my $joins; my $joins;
my $selects; my $selects;
my @joined; my @joined;
# If we're at the view method there is no reason we should have anything in our scratch cart
# so let's empty it to prevent strange and awful things from happening
$self->emptyScratchCart;
push(@keys,$keywords) if $keywords; push(@keys,$keywords) if $keywords;
unless ($keywords =~ /^".*"$/) { unless ($keywords =~ /^".*"$/) {
foreach (split(" ",$keywords)) { foreach (split(" ",$keywords)) {