pagestats: consistent indentation

master
Simon McVittie 2014-09-14 15:51:22 +01:00
parent cd5a24d8b4
commit 89492a62a7
1 changed files with 8 additions and 8 deletions

View File

@ -34,14 +34,14 @@ sub getsetup () {
sub linktext ($%) { sub linktext ($%) {
# Return the text of the link to a tag, depending on option linktext. # Return the text of the link to a tag, depending on option linktext.
my ($page, %params) = @_; my ($page, %params) = @_;
if (exists $params{disp} && if (exists $params{disp} &&
exists $pagestate{$page} && exists $pagestate{$page} &&
exists $pagestate{$page}{meta}{$params{disp}}) { exists $pagestate{$page}{meta}{$params{disp}}) {
return $pagestate{$page}{meta}{$params{disp}}; return $pagestate{$page}{meta}{$params{disp}};
} }
else { else {
return undef; return undef;
} }
} }
sub preprocess (@) { sub preprocess (@) {