# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: contributions/modules/tellafriend/tellafriend.module --- contributions/modules/tellafriend/tellafriend.module Base (1.19) +++ contributions/modules/tellafriend/tellafriend.module Locally Modified (Based On 1.19) @@ -335,7 +335,11 @@ function tellafriend_page(&$form_state) { global $user; global $base_url; - $placeholder_values = array('!sitename' => variable_get('site_name', 'Drupal'),'!sitelink' => $base_url,'!sitemail' => variable_get('site_mail', ini_get('sendmail_from')), '!sendername' => $form_values['tellafriend_name'], '!sendermail' => $form_values['tellafriend_email']); + $placeholder_values = array( + '!sitename' => variable_get('site_name', 'Drupal'), + '!sitelink' => $base_url, + '!sitemail' => variable_get('site_mail', ini_get('sendmail_from')) + ); $form['#token'] = $user->name . $user->mail; $form['tellafriend_information'] = array('#value' => filter_xss_admin(variable_get('tellafriend_topmessage', t('Spread the word about !site by telling your friend(s) about it!', array('!site' => variable_get('site_name', 'Drupal'))))));