Fix deprecated usage of string functions
[MAILPOET-4001]
This commit is contained in:
@@ -101,7 +101,7 @@ class Text {
|
||||
$paragraph->remove();
|
||||
continue;
|
||||
}
|
||||
$style = $paragraph->style;
|
||||
$style = (string)$paragraph->style;
|
||||
if (!preg_match('/text-align/i', $style)) {
|
||||
$style = 'text-align: left;' . $style;
|
||||
}
|
||||
|
Reference in New Issue
Block a user