Skip to content
Snippets Groups Projects

issue fixed

Closed chetan requested to merge issue/symfony_mailer-3394193:1.x into 1.x
2 unresolved threads
27 files
+ 57
38
Compare changes
  • Side-by-side
  • Inline
Files
27
@@ -78,7 +78,8 @@ class SymfonyMailerController extends ControllerBase {
foreach ($unsupported as $a => $b) {
if (isset($info[$a]['state']) && isset($info[$b]['state'])) {
if (($info[$a]['state'] != OverrideManagerInterface::STATE_DISABLED) && ($info[$b]['state'] == OverrideManagerInterface::STATE_DISABLED)) {
$this->messenger()->addError($this->t('Enabling %a but not %b is not supported', ['%a' => $info[$a]['name'], '%b' => $info[$b]['name']]));
$this->messenger()->addError($this->t('Enabling %a but not %b is not supported',
['%a' => $info[$a]['name'], '%b' => $info[$b]['name']]));
}
}
}
@@ -103,7 +104,8 @@ class SymfonyMailerController extends ControllerBase {
if ($label) {
$operations[$action] = [
'title' => $label,
'url' => Url::fromRoute('symfony_mailer.override.action', ['action' => $action, 'id' => $id]),
'url' => Url::fromRoute('symfony_mailer.override.action',
['action' => $action, 'id' => $id]),
];
}
}
Loading