  GNU nano 2.3.1                                      File: read_more.patch                                                                        Modified  

--- read_more.module    2011-04-29 01:12:01.000000000 -0400
+++ read_more.module.b  2011-08-16 08:31:28.801047417 -0400
@@ -206,7 +206,7 @@ function read_more_node_view($node, $vie
       $elements = '(?:' . implode('|', $elements_array) . ')';
 
       // Get last position of the last closing marker in teaser.
-      if (preg_match('!</?' . $elements . '[^>]*>\s*$!i', $node->content['body'][0]['#markup'], $match, PREG_OFFSET_CAPTURE)) {
+      if (array_key_exists('body', $node->content) && preg_match('!</?' . $elements . '[^>]*>\s*$!i', $node->content['body'][0]['#markup'], $match, PREG_OF$
         // Recalculate the position in $teaser. We do this because there may be extra CCK fields appended to the teaser.
         $insert_point = strpos($view_mode, $node->content['body'][0]['#markup']) + $match[0][1];
         // Insert the link.

