Permalink
Browse files

fetch_entries function post table sql needs single not double quotes …

…for blog column value
  • Loading branch information...
1 parent 47cdbd1 commit 3e7853f0e5c2e9b1a0f7b8ac1859e8879d7cb69a jmg324 committed Jan 11, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 blog/lib.php
View
@@ -458,7 +458,7 @@ function fetch_entries($postid='', $fetchlimit=10, $fetchstart='', $filtertype='
global $CFG, $USER;
/// the post table will be used for other things too
- $typesql = ' AND p.module = "blog" ';
+ $typesql = " AND p.module = 'blog' ";
/// set the tag id for searching
if ($tagid) {

0 comments on commit 3e7853f

Please sign in to comment.