fix syntax error
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 12 Mar 2008 14:35:25 +0000 (10:35 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 12 Mar 2008 14:35:25 +0000 (10:35 -0400)
IkiWiki/Plugin/meta.pm

index 8803747fb9bd3cb932b222f9dd8f81aa600874b8..8a9a5382b00823ffdcd2825f5db6ae9214490480 100644 (file)
@@ -149,9 +149,9 @@ sub preprocess (@) { #{{{
                        push @{$metaheaders{$page}}, '<link href="'.encode_entities($value).
                                '" rel="openid2.local_id" />';
                }
-               if (exists $params{xrds-location} && safeurl($params{xrds-location})) {
+               if (exists $params{"xrds-location"} && safeurl($params{"xrds-location"})) {
                        push @{$metaheaders{$page}}, '<meta http-equiv="X-XRDS-Location"'.
-                               'content="'.encode_entities($params{xrds-location}).'" />';
+                               'content="'.encode_entities($params{"xrds-location"}).'" />';
                }
        }
        elsif ($key eq 'redir') {