]> git.mjollnir.org Git - moodle.git/commitdiff
fetch_entries function post table sql needs single not double quotes for blog column...
authorjmg324 <jmg324>
Thu, 11 Jan 2007 14:02:17 +0000 (14:02 +0000)
committerjmg324 <jmg324>
Thu, 11 Jan 2007 14:02:17 +0000 (14:02 +0000)
blog/lib.php

index ab5b89677598be4b10c66e05810ea98a72eb4e39..4473a82057f6786e35b3c53708184c9cfb7a3975 100755 (executable)
         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) {