--- nodeblock/nodeblock.module.orig     2009-09-14 11:40:07.000000000 -0700
+++ nodeblock/nodeblock.module  2009-09-14 11:49:43.000000000 -0700
@@ -91,7 +91,7 @@ function nodeblock_block($op = 'list', $
     foreach ($types as $type) {
       if (nodeblock_type_enabled($type)) {
         // Fetch all nodes of this type, excluding translations.
-        $result = db_query('SELECT nid, title FROM {node} WHERE type = "%s" AND status = 1 AND (nid = tnid OR tnid = 0)', $type->type);
+        $result = db_query("SELECT nid, title FROM {node} WHERE type = '%s' AND status = 1 AND (nid = tnid OR tnid = 0)", $type->type);
         while ($node = db_fetch_object($result)) {
           $blocks[$node->nid] = array('info' => $node->title .' (nodeblock)');
         }
