diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-15 18:06:55 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-15 18:06:55 +0000 |
commit | 3bf104e528cde7e7e4cffcd30f264b8dc5a7a91c (patch) | |
tree | c84468d86fe453cbdfd57c984222d059054f9ea0 /IkiWiki | |
parent | 87de5b822bd5ffe77a3bac3a984a9f1e2a3d90d4 (diff) |
avoid undefined value warning in some case
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 66cba027a..935df9a77 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -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]")); } } } |