From 58b2b44f7802d799b1ac15250599af6632f5f42f Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Tue, 21 Nov 2017 13:48:35 +0100 Subject: [PATCH] try fix for RT #109428 --- lib/Mediawiki/POD/HTML.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Mediawiki/POD/HTML.pm b/lib/Mediawiki/POD/HTML.pm index 2bd16e7..203c8ba 100644 --- a/lib/Mediawiki/POD/HTML.pm +++ b/lib/Mediawiki/POD/HTML.pm @@ -206,7 +206,7 @@ sub keyword_search_url my $storage = $self->{_mediawiki_pod_html}; $storage->{search} = $_[0] if defined $_[0]; # can be undef, too - $storage->{search_space} = $_[1] if defined @_ == 2; + $storage->{search_space} = $_[1] if @_ == 2; wantarray ? ($storage->{search}, $storage->{search_space}) : $storage->{search}; -- 2.1.2