]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Search.pm
search: clobber -user_pfx on query parser initialization
[public-inbox.git] / lib / PublicInbox / Search.pm
index 9a394404a734f117baf1471934447751013fd9d5..fabf5301f163187035c2cdd1a51895e98ba8116a 100644 (file)
@@ -313,7 +313,7 @@ sub qp {
        # we do not actually create AltId objects,
        # just parse the spec to avoid the extra DB handles for now.
        if (my $altid = $self->{altid}) {
-               my $user_pfx = $self->{-user_pfx} ||= [];
+               my $user_pfx = $self->{-user_pfx} = [];
                for (@$altid) {
                        # $_ = 'serial:gmane:/path/to/gmane.msgmap.sqlite3'
                        /\Aserial:(\w+):/ or next;