function template_preprocess_privatemsg_recipients

1 privatemsg.module template_preprocess_privatemsg_recipients(&$vars)
7-1 privatemsg.module template_preprocess_privatemsg_recipients(&$vars)
7-2 privatemsg.module template_preprocess_privatemsg_recipients(&$vars)
6-2 privatemsg.module template_preprocess_privatemsg_recipients(&$vars)

File

./privatemsg.module, line 790
Allows users to send private messages to other users.

Code

function template_preprocess_privatemsg_recipients(&$vars) {
  $vars['participants'] = ''; // assign a default empty value
  if (isset($vars['thread']['participants'])) {
    $vars['participants'] = _privatemsg_format_participants($vars['thread']['participants']);
  }
}