Skip to content

Commit

Permalink
Merge pull request #38 from nliautaud/patch-localized-mail-fields
Browse files Browse the repository at this point in the history
Fix localization of fields names in mail
  • Loading branch information
nliautaud authored Oct 5, 2018
2 parents 1876bc4 + f18c8a1 commit 0bddfba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p01-contact/src/P01contact_Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public function htmlMail()
$html .= "\n\n\n";
$html .= '<tr style="background-color: #eeeeee">';
$html .= '<td style="padding: .5em .75em"><span style="'.$emphasis.'">';
$html .= $this->title ? $this->title : $this->type;
$html .= $this->title ? $this->title : ucfirst($this->form->lang($this->type));
$html .= '</span></td>';
$html .= "\t\t";

Expand Down

0 comments on commit 0bddfba

Please sign in to comment.