? image.patch
? project_150485.patch
? test.patch
Index: contrib/image_attach/image_attach.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/contrib/image_attach/Attic/image_attach.module,v
retrieving revision 1.9.2.15
diff -u -r1.9.2.15 image_attach.module
--- contrib/image_attach/image_attach.module	4 Jul 2007 04:40:32 -0000	1.9.2.15
+++ contrib/image_attach/image_attach.module	13 Jul 2007 15:35:55 -0000
@@ -259,7 +259,7 @@
  * Fetch an array of all candidate referenced nodes, for use in presenting the selection form to the user.
  */
 function _image_attach_get_image_nodes() {
-  $result = db_query(db_rewrite_sql("SELECT n.nid, n.title FROM {node} n WHERE n.status=1 AND type='image' ORDER BY n.sticky DESC, n.title ASC"));
+  $result = db_query(db_rewrite_sql("SELECT n.nid, n.title FROM {node} n WHERE type='image' ORDER BY n.sticky DESC, n.title ASC"));
   if (db_num_rows($result) == 0) {
     return array();
   }
