X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2eff1c64abaab87522a44fef6eac6cab10c95792..006af093ef45ed02e618dc6d5b2dcaa394f0f92c:/IkiWiki/Plugin/inline.pm diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index c98888452..935df9a77 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -96,7 +96,7 @@ sub preprocess_inline (@) { #{{{ # TODO: if $params{archive} eq "no", the only reason to do this # is to let the meta plugin get page title info; so stop # calling this next line then once the meta plugin can - # store that accross runs. + # store that accross runs (also tags plugin). $template->param(content => get_inline_content($page, $params{page})); $template->param(ctime => displaytime($pagectime{$page})); @@ -233,7 +233,7 @@ sub pingurl (@) { #{{{ } my $r=$res->value; if (! exists $r->{flerror} || $r->{flerror}) { - debug("Ping rejected: ".$r->{message}); + debug("Ping rejected: ".(exists $r->{message} ? $r->{message} : "[unknown reason]")); } } }