Index: apachesolr_search.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr_search.module,v
retrieving revision 1.1.2.6.2.111.2.96
diff -u -p -r1.1.2.6.2.111.2.96 apachesolr_search.module
--- apachesolr_search.module	6 Jan 2011 20:39:44 -0000	1.1.2.6.2.111.2.96
+++ apachesolr_search.module	13 Feb 2011 23:10:43 -0000
@@ -550,7 +550,7 @@ function apachesolr_search_process_respo
         }
       }
       // If there's no snippet at this point, add the teaser.
-      if (strlen($snippet) == 0) {
+      if (count($snippet) == 0) {
         if (isset($doc->teaser)) {
           $snippets[] = truncate_utf8($doc->teaser, 256, TRUE);
         }
