Add space between if and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 13:08:49 +01:00
committed by M. Shull
parent a935b091d3
commit 3ee58aea10
333 changed files with 4001 additions and 4001 deletions

View File

@ -14,9 +14,9 @@ class Header {
);
$DOM_parser = new pQuery();
$DOM = $DOM_parser->parseStr($element['text']);
if(isset($element['styles']['link'])) {
if (isset($element['styles']['link'])) {
$links = $DOM->query('a');
if($links->count()) {
if ($links->count()) {
$css = new CSS();
foreach ($links as $link) {
$element_link_styles = StylesHelper::getStyles($element['styles'], 'link');
@ -28,7 +28,7 @@ class Header {
$background_color = ($background_color !== 'transparent') ?
'bgcolor="' . $background_color . '"' :
false;
if(!$background_color) unset($element['styles']['block']['backgroundColor']);
if (!$background_color) unset($element['styles']['block']['backgroundColor']);
$template = '
<tr>
<td class="mailpoet_header_footer_padded mailpoet_header" ' . $background_color . '