Skip to content

Commit

Permalink
MDL-13553 - merge from 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
scyrma committed Feb 21, 2008
1 parent 16bf93e commit 5e9baf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blog/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function blog_print_entry($blogEntry, $viewtype='full', $filtertype='', $filters
echo implode(', ', $taglist);
}
echo '</div>';
}
}

/// Commands

Expand Down Expand Up @@ -527,7 +527,7 @@ function blog_fetch_entries($postid='', $fetchlimit=10, $fetchstart='', $filtert

if ($tag) {
$tagtablesql = $CFG->prefix.'tag_instance ti, ';
$tagquerysql = ' AND ti.itemid = p.id AND ti.tagid = '.$tag.' AND ti.itemtype = \'blog\' ';
$tagquerysql = ' AND ti.itemid = p.id AND ti.tagid = '.$tag.' AND ti.itemtype = \'post\' ';
} else {
$tagtablesql = '';
$tagquerysql = '';
Expand Down

0 comments on commit 5e9baf9

Please sign in to comment.