projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca7a35
)
check that user is defined before regexp compare
author
Craig Lennox
<blipvert@blipvertica.com>
Sat, 27 Nov 2010 22:29:49 +0000
(17:29 -0500)
committer
Craig Lennox
<blipvert@blipvertica.com>
Sun, 28 Nov 2010 15:51:53 +0000
(10:51 -0500)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 08a3d7875da6b9941000b4531755fcb2a6f42d49..b3d47ed6acec5333c531437e159be8b68dcba666 100644
(file)
--- 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;