From 36839a9e29d43ffc85217bb9c168cb1cec442634 Mon Sep 17 00:00:00 2001 From: filip1 Date: Mon, 17 Sep 2018 18:33:13 +0200 Subject: [PATCH] Update ContactTable.class.php Remove the two newlines added as part of the #PERSONAL-SALUTATION# keyword substitution as they lead to unexpected additional line breaks --- lib/model/doctrine/ContactTable.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/model/doctrine/ContactTable.class.php b/lib/model/doctrine/ContactTable.class.php index f94b775..2cc6959 100644 --- a/lib/model/doctrine/ContactTable.class.php +++ b/lib/model/doctrine/ContactTable.class.php @@ -339,7 +339,6 @@ public function getKeywordSubst($contactIds, Petition $petition, $culture = 'en' $personal_salutation = $i18n->__('Dear Sir %F %L,', array('%F' => $contact['firstname'], '%L' => $contact['lastname'])); else $personal_salutation = $i18n->__('Dear Sir/Madam %F %L,', array('%F' => $contact['firstname'], '%L' => $contact['lastname'])); - $personal_salutation .= "\n\n"; if (in_array(PetitionTable::KEYWORD_PERSONAL_SALUTATION, $slected_keywords)) { $subst[PetitionTable::KEYWORD_PERSONAL_SALUTATION] = $personal_salutation; }