diff --git a/IkiWiki.pm b/IkiWiki.pm index f57ef8c6c..c06751dd3 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1201,7 +1201,7 @@ sub userpage ($) { sub openiduser ($) { my $user=shift; - if ($user =~ m!^https?://! && + if (defined $user && $user =~ m!^https?://! && eval q{use Net::OpenID::VerifiedIdentity; 1} && !$@) { my $display;