Fix a shorthash encoding confusion
This commit is contained in:
parent
81c9ec53ff
commit
962ded97f5
1 changed files with 1 additions and 1 deletions
|
|
@ -827,7 +827,7 @@ sub man_page {
|
|||
JOIN locales l ON l.id = f.locale
|
||||
WHERE m.name =', \$man->{name}, 'AND m.section =', \$man->{section}, '
|
||||
AND l.locale =', \$man->{locale}, '
|
||||
AND f.shorthash <> ', \shorthash_to_int($man->{shorthash}), '
|
||||
AND f.shorthash <> ', \$man->{shorthash}, '
|
||||
LIMIT 1'
|
||||
);
|
||||
my @htmllang = $man->{locale} =~ /^([a-z]{2,3})(?:_([A-Z]{2}))?(?:$|@|\.)/ ? (lang => $1.($2?"-$2":'')) : ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue