fix #1890 쪽지 기능에서 변조된 데이터가 사용될 수 있는 문제 수정

This commit is contained in:
bnu 2016-04-15 15:13:15 +09:00 committed by Kijin Sung
parent 6d964a5b0c
commit 4925364239

View file

@ -167,10 +167,13 @@ class communicationModel extends communication
{
foreach($member_info as $key => $val)
{
if($key != 'regdate')
{
$message->{$key} = $val;
}
if($key === 'title') continue;
if($key === 'content') continue;
if($key === 'sender_srl') continue;
if($key === 'password') continue;
if($key === 'regdate') continue;
$message->{$key} = $val;
}
}