X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Frss.inc.php;h=3b07d78568e9216f371239a407501dba2faaf492;hb=d7610c358d074c78e1e8dc25fe0cf0e5e7e1c55e;hp=0117fc0f65c814b715a6e5ecf3cf2a3a293cbdd0;hpb=c700d16b2402b1d246383097f6f22f716e294eaf;p=platal.git diff --git a/include/rss.inc.php b/include/rss.inc.php index 0117fc0..3b07d78 100644 --- a/include/rss.inc.php +++ b/include/rss.inc.php @@ -30,7 +30,7 @@ function _rss_encode_date($d) { function init_rss($template, $alias, $hash, $require_uid = true) { - global $page; + $page =& Platal::page(); $page->changeTpl($template, NO_SKIN); $page->register_modifier('rss_date', '_rss_encode_date');