Deal with empty diffurl in configuration.
parent
fce3cef33a
commit
82114f4451
|
@ -181,7 +181,7 @@ sub store ($$$) {
|
|||
else {
|
||||
$_->{link} = pagetitle($_->{page});
|
||||
}
|
||||
if (defined $_->{diffurl}) {
|
||||
if (defined $_->{diffurl} && length($_->{diffurl})) {
|
||||
$has_diffurl=1;
|
||||
}
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ ikiwiki (3.20121213) UNRELEASED; urgency=low
|
|||
a poll.
|
||||
* trail: Avoid massive slowdown caused by pagetemplate hook when displaying
|
||||
dynamic cgi pages, which cannot use trail anyway.
|
||||
* Deal with empty diffurl in configuration.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sat, 22 Dec 2012 16:15:24 -0400
|
||||
|
||||
|
|
|
@ -14,3 +14,5 @@ recentchanges.pm sets the template variable HAS_DIFFURL to 1 based solely on whe
|
|||
|
||||
|
||||
(There should be one more line at the bottom with a single space on it...)
|
||||
|
||||
> [[applied|done]] --[[Joey]]
|
||||
|
|
Loading…
Reference in New Issue