Index: modules/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node.module,v
retrieving revision 1.409
diff -u -F^f -r1.409 node.module
--- modules/node.module	12 Oct 2004 20:01:25 -0000	1.409
+++ modules/node.module	13 Oct 2004 22:19:48 -0000
@@ -433,7 +433,7 @@ function node_save($node) {
 
     // Prepare the query:
     foreach ($node as $key => $value) {
-      if (in_array($key, $fields)) {
+      if (in_array((string) $key, $fields)) {
         $k[] = check_query($key);
         $v[] = $value;
         $s[] = "'%s'";
