summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]cgi-bin/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/Search.pm b/cgi-bin/Search.pm
index af6b3fd..a9c1120 100644..100755
--- a/cgi-bin/Search.pm
+++ b/cgi-bin/Search.pm
@@ -93,7 +93,7 @@ sub go {
my $pureArtistSearch = ($searchFor eq 'artist' && !$title && !$album && !$dateFrom && !$dateTo && $scope eq 'all');
# loop through each platter
- @inv = keys %PLATTERS if (!defined @inv);
+ @inv = keys %PLATTERS if (!@inv);
foreach (@inv) {
my $platter = $_;