Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.144
diff -u -p -r1.144 bootstrap.inc
--- includes/bootstrap.inc	2 Jan 2007 10:21:39 -0000	1.144
+++ includes/bootstrap.inc	3 Jan 2007 23:41:27 -0000
@@ -663,7 +663,7 @@ function drupal_set_message($message = N
       $_SESSION['messages'][$type] = array();
     }
 
-    $_SESSION['messages'][$type][] = $message;
+    $_SESSION['messages'][$type][$message] = $message;
   }
 
   // messages not set when DB connection fails
