X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Frss.inc.php;h=3b07d78568e9216f371239a407501dba2faaf492;hb=f70f2bcdc077c220e40ecebaf569e097f6028743;hp=0117fc0f65c814b715a6e5ecf3cf2a3a293cbdd0;hpb=e6bf921624e50f7abdd9a1862d0b7ef4f1053090;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');