Index: inline.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/inline/inline.module,v
retrieving revision 1.19.2.11
diff -u -p -r1.19.2.11 inline.module
--- inline.module	16 Jan 2008 21:09:02 -0000	1.19.2.11
+++ inline.module	16 Jan 2008 21:14:54 -0000
@@ -226,8 +226,8 @@ function inline_nodeapi(&$node, $op, $ar
       // Only nodes with Inline filter in the format may be processed.
       foreach (filter_list_format($node->format) as $filter) {
         if ($filter->module == 'inline') {
-          $node->teaser = _inline_substitute_tags($node, 'teaser');
-          $node->body = _inline_substitute_tags($node, 'body');
+          _inline_substitute_tags($node, 'teaser');
+          _inline_substitute_tags($node, 'body');
           break;
         }
       }
@@ -238,8 +238,8 @@ function inline_nodeapi(&$node, $op, $ar
     
     case 'prepare':
     case 'submit':
-      $node->teaser = _inline_replace_numbers($node, 'teaser');
-      $node->body = _inline_replace_numbers($node, 'body');
+      _inline_replace_numbers($node, 'teaser');
+      _inline_replace_numbers($node, 'body');
       return;
   }
 }
@@ -247,7 +247,7 @@ function inline_nodeapi(&$node, $op, $ar
 /**
  * Return the corresponding file object of an Inline tag.
  */
-function _inline_fileobj(&$node, $id) {
+function _inline_fileobj($node, $id) {
   if (is_numeric($id)) {
     // Numeric file reference (deprecated, see #38359).
     $n = 1;
@@ -460,9 +460,8 @@ function _inline_substitute_tags(&$node,
       $r[] = $replace;
     }
     // Perform the replacements and return processed field.
-    return str_replace($s, $r, $node->$field);
+    $node->$field = str_replace($s, $r, $node->$field);
   }
-  return $node->$field;
 }
 
 /**
@@ -476,7 +475,7 @@ function _inline_substitute_tags(&$node,
  * @return
  *   The processed content of the given node field.
  */
-function _inline_replace_numbers($node, $field) {
+function _inline_replace_numbers(&$node, $field) {
   $tag = '/\[(inline|file|attachment):(\d+?)(=.+?)?\]/i';
   // Look if there are any numeric inline tags.
   preg_match_all($tag, $node->$field, $matches, PREG_SET_ORDER);
@@ -502,7 +501,6 @@ function _inline_replace_numbers($node, 
       $node->$field = str_replace($match[0], '['. $match[1] .':'. $filename . $match[3] .']', $node->$field);
     }
   }
-  return $node->$field;
 }
 
 /**
