]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/recentchanges.pm
Deal with empty diffurl in configuration.
[ikiwiki.git] / IkiWiki / Plugin / recentchanges.pm
index 4c186325562cad93869ea4b0fe49ab305dcdf2cc..eec9803be1397dc0a473b5c4287a0b8cdfa25ac7 100644 (file)
@@ -181,7 +181,7 @@ sub store ($$$) {
                        else {
                                $_->{link} = pagetitle($_->{page});
                        }
-                       if (defined $_->{diffurl}) {
+                       if (defined $_->{diffurl} && length($_->{diffurl})) {
                                $has_diffurl=1;
                        }