Do not use defined(%hash) in w3mhelp.cgi
Origin: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/w3m&id=d9e0a4f0b461c9e2177cd9e64a10581386650503 Bug-Arch: https://bugs.archlinux.org/task/45608
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
5f90adc736
commit
c574748948
@@ -48,7 +48,7 @@ if (defined($ENV{'QUERY_STRING'})) {
|
||||
}
|
||||
# print "tlang=$tlang\n";
|
||||
eval {require "w3mhelp-funcdesc.$tlang.pl";};
|
||||
if (defined(%funcdesc)) {
|
||||
if (%funcdesc) {
|
||||
$lang = $tlang;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user