diff options
author | Gaetan Bisson <bisson@archlinux.org> | 2015-10-03 15:36:55 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2015-10-03 15:36:55 +0000 |
commit | c5747489481cd3392534726a47fe136d6ed4ee42 (patch) | |
tree | 8e8a0fd7261700e0518e6e58106916d76ed81cd0 /scripts | |
parent | Update ChangeLog (diff) | |
download | w3m-c5747489481cd3392534726a47fe136d6ed4ee42.tar.gz w3m-c5747489481cd3392534726a47fe136d6ed4ee42.zip |
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
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/w3mhelp.cgi.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/w3mhelp.cgi.in b/scripts/w3mhelp.cgi.in index b2fca8f..31c0049 100644 --- a/scripts/w3mhelp.cgi.in +++ b/scripts/w3mhelp.cgi.in @@ -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; } } |