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