Index: privatemsg.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/privatemsg/privatemsg.module,v
retrieving revision 1.70.2.30.2.91.2.84
diff -u -p -r1.70.2.30.2.91.2.84 privatemsg.module
--- privatemsg.module	29 Oct 2009 15:09:29 -0000	1.70.2.30.2.91.2.84
+++ privatemsg.module	31 Oct 2009 11:52:57 -0000
@@ -74,12 +74,12 @@ function _privatemsg_generate_user_array
  * @return
  *   String with formated user objects, like user1, user2.
  */
-function _privatemsg_format_participants($part_array, $limit = 20, $no_text = FALSE) {
+function _privatemsg_format_participants($part_array, $limit = NULL, $no_text = FALSE) {
   if (count($part_array) > 0) {
     $to = array();
     $limited = FALSE;
     foreach ($part_array as $account) {
-      if (count($to) >= $limit) {
+      if (is_int($limit) && count($to) >= $limit) {
         $limited = TRUE;
         break;
       }
