Hi,
it's my comprehension or something wrong for me :
if (!$email->get('from')) {
$from = $this->config->get('outboundEmailFromAddress');
if ($from) {
$email->set('from', $from);
$toSave = true;
}
}
just one question, is not something so :
if (!$email->get('from')) {
$from = $this->config->get('outboundEmailFromAddress');
}else{
$email->set('from', $from);
$toSave = true;
}
sorry if not understand
it's my comprehension or something wrong for me :
if (!$email->get('from')) {
$from = $this->config->get('outboundEmailFromAddress');
if ($from) {
$email->set('from', $from);
$toSave = true;
}
}
just one question, is not something so :
if (!$email->get('from')) {
$from = $this->config->get('outboundEmailFromAddress');
}else{
$email->set('from', $from);
$toSave = true;
}
sorry if not understand
Comment