|
@@ 410-412 (lines=3) @@
|
| 407 |
|
$content = $MTP->get('MTP_content'); |
| 408 |
|
$new_content = $content; |
| 409 |
|
switch( $field ) { |
| 410 |
|
case 'from' : |
| 411 |
|
$new_content = !empty( $this->_req_data['batch_message']['from'] ) ? $this->_req_data['batch_message']['from'] : $content; |
| 412 |
|
break; |
| 413 |
|
case 'subject' : |
| 414 |
|
$new_content = !empty( $this->_req_data['batch_message']['subject'] ) ? $this->_req_data['batch_message']['subject'] : $content; |
| 415 |
|
break; |
|
@@ 413-415 (lines=3) @@
|
| 410 |
|
case 'from' : |
| 411 |
|
$new_content = !empty( $this->_req_data['batch_message']['from'] ) ? $this->_req_data['batch_message']['from'] : $content; |
| 412 |
|
break; |
| 413 |
|
case 'subject' : |
| 414 |
|
$new_content = !empty( $this->_req_data['batch_message']['subject'] ) ? $this->_req_data['batch_message']['subject'] : $content; |
| 415 |
|
break; |
| 416 |
|
case 'content' : |
| 417 |
|
$new_content = $content; |
| 418 |
|
$new_content['newsletter_content'] = !empty( $this->_req_data['batch_message']['content'] ) ? $this->_req_data['batch_message']['content'] : $content['newsletter_content']; |