diff options
author | matthew <matthew> | 2007-05-14 21:32:32 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-05-14 21:32:32 +0000 |
commit | 8a19fabc7387a9ff2ad8e43e0ce796af69c240a2 (patch) | |
tree | 9dd23e3ca4fbdf43984724ef8e55c80d6651dd46 /perllib/Page.pm | |
parent | 3716d7fc96e829322009abcfb5ea34f7cf326374 (diff) |
Bugfix.
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r-- | perllib/Page.pm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index 2e92e99f0..e779bb57b 100644 --- a/perllib/Page.pm +++ b/perllib/Page.pm @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: Page.pm,v 1.46 2007-05-14 21:21:44 matthew Exp $ +# $Id: Page.pm,v 1.47 2007-05-14 21:32:32 matthew Exp $ # package Page; @@ -86,10 +86,8 @@ EOF <style type="text/css">\@import url("/css.css");</style> EOF if ($params{rss}) { - foreach (keys %{$params{rss}}) { - print '<link rel="alternate" type="application/rss+xml" title="' - . $_ . '" href="' . $params{rss}{$_} . '">'; - } + $html .= '<link rel="alternate" type="application/rss+xml" title="' + . $params{rss}[0] . '" href="' . $params{rss}[1] . '">'; } $html .= <<EOF; </head> |