diff --git a/blog/class.BlogFilter.php b/blog/class.BlogFilter.php index cfd02ab171c..f715f799b50 100755 --- a/blog/class.BlogFilter.php +++ b/blog/class.BlogFilter.php @@ -85,7 +85,7 @@ class BlogFilter { $this->tag = $tagid; } else if ($tag) { if ($tagrec = get_record_sql('SELECT * FROM '.$CFG->prefix.'tags WHERE text LIKE "'.$tag.'"')) { - $this->tag = $tagrec -> id; + $this->tag = $tagrec->id; } else { $this->tag = -1; //no record found } diff --git a/blog/lib.php b/blog/lib.php index 42e0d57c500..02691a735d4 100755 --- a/blog/lib.php +++ b/blog/lib.php @@ -168,7 +168,7 @@ function blog_print_html_formatted_entries(&$blogFilter, $filtertype, $filtersel // show page next/previous links if applicable print_paging_bar($blogFilter->get_viewable_entry_count(), $blogpage, $bloglimit, $blogFilter->baseurl, 'blogpage'); - blog_rss_print_link($filtertype, $filterselect); + blog_rss_print_link($filtertype, $filterselect, $blogFilter->tag); print ''; if (blog_isLoggedIn()) {