diff options
author | Joey Hess <joey@kitenet.net> | 2013-01-29 08:12:56 +1100 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-01-29 08:12:56 +1100 |
commit | 82114f4451fb18a8c0ac44f868df8b0860d432a4 (patch) | |
tree | d5db2c985c4fdc872c84a25fa3835b934f7c3781 /IkiWiki | |
parent | fce3cef33a4800591e9852605be2e48f36310513 (diff) | |
download | ikiwiki-82114f4451fb18a8c0ac44f868df8b0860d432a4.tar ikiwiki-82114f4451fb18a8c0ac44f868df8b0860d432a4.tar.gz |
Deal with empty diffurl in configuration.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/recentchanges.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm index 4c1863255..eec9803be 100644 --- a/IkiWiki/Plugin/recentchanges.pm +++ b/IkiWiki/Plugin/recentchanges.pm @@ -181,7 +181,7 @@ sub store ($$$) { else { $_->{link} = pagetitle($_->{page}); } - if (defined $_->{diffurl}) { + if (defined $_->{diffurl} && length($_->{diffurl})) { $has_diffurl=1; } |