]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/inline.pm
web commit by joey
[git.ikiwiki.info.git] / IkiWiki / Plugin / inline.pm
index c98888452b43ec79e302109b38c402174750935d..935df9a7764cb451d37705b7e10b0f8b105156d5 100644 (file)
@@ -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]"));
                        }
                }
        }