Skip to content

Commit

Permalink
fixed undefined sitecontext
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 17, 2010
1 parent d91181d commit fd7a6fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blog/rsslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fd7a6fe

Please sign in to comment.