| @@ 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 |
|
| @@ 2006-2006 (lines=1) @@ | ||
| 2003 | // Control of essential parameters |
|
| 2004 | if($args->allow_mailing!='Y') $args->allow_mailing = 'N'; |
|
| 2005 | if($args->denied!='Y') $args->denied = 'N'; |
|
| 2006 | if(!$args->allow_message || ($args->allow_message && !in_array($args->allow_message, array('Y','N','F')))) $args->allow_message = 'Y'; |
|
| 2007 | ||
| 2008 | if($logged_info->is_admin == 'Y') |
|
| 2009 | { |
|
| @@ 2193-2193 (lines=1) @@ | ||
| 2190 | if(!$this->memberInfo) $this->memberInfo = $oMemberModel->getMemberInfoByMemberSrl($args->member_srl); |
|
| 2191 | // Control of essential parameters |
|
| 2192 | if($args->allow_mailing!='Y') $args->allow_mailing = 'N'; |
|
| 2193 | if($args->allow_message && !in_array($args->allow_message, array('Y','N','F'))) $args->allow_message = 'Y'; |
|
| 2194 | ||
| 2195 | if($logged_info->is_admin == 'Y') |
|
| 2196 | { |
|