Index: img_assist.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/img_assist/img_assist.module,v
retrieving revision 1.60
diff -u -r1.60 img_assist.module
--- img_assist.module	9 Apr 2006 06:33:30 -0000	1.60
+++ img_assist.module	17 Apr 2006 14:57:21 -0000
@@ -682,7 +682,7 @@
 			$image = img_assist_display($node, 'thumbnail');
 			$output .= l($image, "img_assist/properties/{$node->nid}", $attributes = array(), $query = NULL, $fragment = NULL, $absolute = FALSE, $html = TRUE) . "\n";
 		}
-		if (!$image) {
+		if (!db_num_rows($result)) {
 			$output .= t('No images were found.  Please upload a new image or browse images by a different category.');
 		}