Skip to content

Commit

Permalink
fetch_entries function post table sql needs single not double quotes …
Browse files Browse the repository at this point in the history
…for blog column value
  • Loading branch information
jmg324 committed Jan 11, 2007
1 parent 47cdbd1 commit 3e7853f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/lib.php
Expand Up @@ -458,7 +458,7 @@ function fetch_entries($postid='', $fetchlimit=10, $fetchstart='', $filtertype='
global $CFG, $USER; global $CFG, $USER;


/// the post table will be used for other things too /// 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 /// set the tag id for searching
if ($tagid) { if ($tagid) {
Expand Down

0 comments on commit 3e7853f

Please sign in to comment.