맴버모듈의 웹마스터 메일이 지정되지 않았고, 로그인을 하지 않은 경우에는 게시판관리자메일을 보낸이로 설정한다.

This commit is contained in:
qw5414 2016-01-27 15:03:07 +09:00
parent 8ae2dba0b9
commit c420844e9f
2 changed files with 8 additions and 2 deletions

View file

@ -316,8 +316,8 @@ class documentController extends document
if(!$obj->email_address) $obj->email_address = '';
if(!$isRestore) $obj->ipaddress = $_SERVER['REMOTE_ADDR'];
// can modify regdate only manager
$grant = Context::get('grant');
// can modify regdate only manager
$grant = Context::get('grant');
if(!$grant->manager)
{
unset($obj->regdate);