| @@ 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; |
|
| @@ 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 |
|
| @@ 1938-1938 (lines=1) @@ | ||
| 1935 | // Control of essential parameters |
|
| 1936 | if($args->allow_mailing!='Y') $args->allow_mailing = 'N'; |
|
| 1937 | if($args->denied!='Y') $args->denied = 'N'; |
|
| 1938 | if(!$args->allow_message || ($args->allow_message && !in_array($args->allow_message, array('Y','N','F')))) $args->allow_message = 'Y'; |
|
| 1939 | ||
| 1940 | if($logged_info->is_admin == 'Y') |
|
| 1941 | { |
|
| @@ 2116-2116 (lines=1) @@ | ||
| 2113 | if(!$this->memberInfo) $this->memberInfo = $oMemberModel->getMemberInfoByMemberSrl($args->member_srl); |
|
| 2114 | // Control of essential parameters |
|
| 2115 | if($args->allow_mailing!='Y') $args->allow_mailing = 'N'; |
|
| 2116 | if($args->allow_message && !in_array($args->allow_message, array('Y','N','F'))) $args->allow_message = 'Y'; |
|
| 2117 | ||
| 2118 | if($logged_info->is_admin == 'Y') |
|
| 2119 | { |
|