fixed undefined sitecontext

This commit is contained in:
Petr Skoda 2010-09-17 11:24:35 +00:00
parent d91181dc67
commit fd7a6fe2e3

View File

@ -69,6 +69,8 @@ function blog_rss_add_http_header($context, $title, $filtertype, $filterselect=0
function blog_rss_get_params($filters) {
$thingid = $rsscontext = $filtertype = null;
$sitecontext = get_context_instance(CONTEXT_SYSTEM);
if (!$filters) {
$thingid = SITEID;
$rsscontext = $sitecontext;