diff options
author | Simon McVittie <smcv@debian.org> | 2010-04-06 00:59:16 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2010-04-06 00:59:16 +0100 |
commit | a2dc8c9373b36f7cc8da239b823b5839788a743d (patch) | |
tree | 365144d64aba69b7c8f3f3ad086f6a01b6b7528a /IkiWiki | |
parent | be1d97c0bd495fe876853d7d7f6eb42041867649 (diff) | |
download | ikiwiki-a2dc8c9373b36f7cc8da239b823b5839788a743d.tar ikiwiki-a2dc8c9373b36f7cc8da239b823b5839788a743d.tar.gz |
Only store authorsort in meta pagestate if it differs from author
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index 7f19b46a3..34e902bec 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -131,7 +131,7 @@ sub preprocess (@) { $pagestate{$page}{meta}{authorsort}=$params{sortas}; } else { - $pagestate{$page}{meta}{authorsort}=$value; + delete $pagestate{$page}{meta}{authorsort}; } # fallthorough } |