--- ../img_assist.1/img_assist.module	Sat Apr 23 16:08:50 2005
+++ img_assist.module	Sun Apr 24 19:14:37 2005
@@ -868,7 +868,7 @@
   $and_clause = implode(' OR ', $and_clause);
 
   if ($images) {
-    return node_title_list(db_query_range(db_rewrite_sql("SELECT n.nid, n.title FROM {node} WHERE status = 1 AND $and_clause ORDER BY nid DESC"), 0, (int) $limit));
+    return node_title_list(db_query_range(db_rewrite_sql("SELECT n.nid, n.title FROM {node} n WHERE status = 1 AND $and_clause ORDER BY nid DESC"), 0, (int) $limit));
   }
 }
 
