File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,16 +163,16 @@ private static function mailTemplateCallToAction($mailTokens) {
163163 <tr>
164164 <td valign="top" class="pc-w520-padding-30-40-30-40 pc-w620-padding-35-50-35-50" style="padding: 40px 60px 40px 60px; height: unset; background-color: <?php echo $ backgroundColor ; ?> ;" bgcolor="<?php echo $ backgroundColor ; ?> ">
165165 <?php
166- self ::mailTemplateCallToActionTitle ($ mailTokens );
167- if ($ mailTokens ['buttonText ' ]) {
168- if (isset ($ mailTokens ['buttonLink ' ])) {
169- self ::mailTemplateCallToActionButton ($ mailTokens );
170- } else {
171- self ::mailTemplateCallToActionButtonNoLink ($ mailTokens );
172- }
173- }
174- self ::mailTemplateCallToActionDescription ($ mailTokens );
175- ?>
166+ self ::mailTemplateCallToActionTitle ($ mailTokens );
167+ if (isset ( $ mailTokens ['buttonText ' ]) ) {
168+ if (isset ($ mailTokens ['buttonLink ' ])) {
169+ self ::mailTemplateCallToActionButton ($ mailTokens );
170+ } else {
171+ self ::mailTemplateCallToActionButtonNoLink ($ mailTokens );
172+ }
173+ }
174+ self ::mailTemplateCallToActionDescription ($ mailTokens );
175+ ?>
176176 </td>
177177 </tr>
178178 </table>
You can’t perform that action at this time.
0 commit comments