From: jmg324 Date: Thu, 11 Jan 2007 14:02:17 +0000 (+0000) Subject: fetch_entries function post table sql needs single not double quotes for blog column... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3e7853f0e5c2e9b1a0f7b8ac1859e8879d7cb69a;p=moodle.git fetch_entries function post table sql needs single not double quotes for blog column value --- diff --git a/blog/lib.php b/blog/lib.php index ab5b896775..4473a82057 100755 --- a/blog/lib.php +++ b/blog/lib.php @@ -458,7 +458,7 @@ 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) {