$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
}
// 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 '</div>';
if (blog_isLoggedIn()) {