tag support in rss

This commit is contained in:
moodler
2006-03-20 05:48:40 +00:00
parent a9743837bf
commit 490201c75c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
}
+1 -1
View File
@@ -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 '</div>';
if (blog_isLoggedIn()) {