X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Frss.inc.php;h=0117fc0f65c814b715a6e5ecf3cf2a3a293cbdd0;hb=b3ec63d58dc3bb0e0e380774bf62b410542deb6d;hp=b461376cb6033ab7e1fa4238529e49c0f1e454b4;hpb=334e6d168bacf264749ac674bd07c2156272650a;p=platal.git diff --git a/include/rss.inc.php b/include/rss.inc.php index b461376..0117fc0 100644 --- a/include/rss.inc.php +++ b/include/rss.inc.php @@ -1,6 +1,6 @@ fetchOneCell(); @@ -50,8 +51,9 @@ function init_rss($template, $alias, $hash, $require_uid = true) } if ($template) { + $page->assign('rss_hash', $hash); header('Content-Type: application/rss+xml; charset=utf8'); - } + } return $uid; }