fetch_entries function post table sql needs single not double quotes for blog column value

This commit is contained in:
jmg324 2007-01-11 14:02:17 +00:00
parent 47cdbd1f64
commit 3e7853f0e5

View file

@ -458,7 +458,7 @@
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) {