modules/communication/communication.controller.php 1 location
|
@@ 34-37 (lines=4) @@
|
| 31 |
|
$args = new stdClass(); |
| 32 |
|
$args->allow_message = Context::get('allow_message'); |
| 33 |
|
|
| 34 |
|
if(!in_array($args->allow_message, array('Y', 'N', 'F'))) |
| 35 |
|
{ |
| 36 |
|
$args->allow_message = 'Y'; |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
$logged_info = Context::get('logged_info'); |
| 40 |
|
$args->member_srl = $logged_info->member_srl; |
modules/importer/importer.admin.controller.php 1 location
|
@@ 410-410 (lines=1) @@
|
| 407 |
|
if($obj->allow_mailing!='Y') $obj->allow_mailing = 'N'; |
| 408 |
|
// Set the message option |
| 409 |
|
$obj->allow_message = 'Y'; |
| 410 |
|
if(!in_array($obj->allow_message, array('Y','N','F'))) $obj->allow_message= 'Y'; |
| 411 |
|
// Get member-join date if the last login time is not found |
| 412 |
|
if(!$obj->last_login) $obj->last_login = $obj->regdate; |
| 413 |
|
// Get a member_srl |
modules/member/member.controller.php 1 location
|
@@ 2103-2103 (lines=1) @@
|
| 2100 |
|
if(!$this->memberInfo) $this->memberInfo = $oMemberModel->getMemberInfoByMemberSrl($args->member_srl); |
| 2101 |
|
// Control of essential parameters |
| 2102 |
|
if($args->allow_mailing!='Y') $args->allow_mailing = 'N'; |
| 2103 |
|
if($args->allow_message && !in_array($args->allow_message, array('Y','N','F'))) $args->allow_message = 'Y'; |
| 2104 |
|
|
| 2105 |
|
if($logged_info->is_admin == 'Y') |
| 2106 |
|
{ |