aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/pagestats.pm16
1 files changed, 8 insertions, 8 deletions
diff --git a/IkiWiki/Plugin/pagestats.pm b/IkiWiki/Plugin/pagestats.pm
index b0ecf7eca..d0a4ec7aa 100644
--- a/IkiWiki/Plugin/pagestats.pm
+++ b/IkiWiki/Plugin/pagestats.pm
@@ -34,14 +34,14 @@ sub getsetup () {
sub linktext ($%) {
# Return the text of the link to a tag, depending on option linktext.
my ($page, %params) = @_;
- if (exists $params{disp} &&
- exists $pagestate{$page} &&
- exists $pagestate{$page}{meta}{$params{disp}}) {
- return $pagestate{$page}{meta}{$params{disp}};
- }
- else {
- return undef;
- }
+ if (exists $params{disp} &&
+ exists $pagestate{$page} &&
+ exists $pagestate{$page}{meta}{$params{disp}}) {
+ return $pagestate{$page}{meta}{$params{disp}};
+ }
+ else {
+ return undef;
+ }
}
sub preprocess (@) {