Merge pull request #443 from kijin/pr/xe-1.8.19

XE 1.8.19 보안패치 적용
This commit is contained in:
Kijin Sung 2016-04-15 16:30:09 +09:00
commit 0036c29f5b
2 changed files with 8 additions and 5 deletions

View file

@ -3,7 +3,7 @@
/** /**
* RX_VERSION is the version number of the Rhymix CMS. * RX_VERSION is the version number of the Rhymix CMS.
*/ */
define('RX_VERSION', '1.8.18'); define('RX_VERSION', '1.8.19');
/** /**
* RX_MICROTIME is the startup time of the current script, in microseconds since the Unix epoch. * RX_MICROTIME is the startup time of the current script, in microseconds since the Unix epoch.

View file

@ -167,12 +167,15 @@ class communicationModel extends communication
{ {
foreach($member_info as $key => $val) foreach($member_info as $key => $val)
{ {
if($key != 'regdate') if($key === 'title') continue;
{ if($key === 'content') continue;
if($key === 'sender_srl') continue;
if($key === 'password') continue;
if($key === 'regdate') continue;
$message->{$key} = $val; $message->{$key} = $val;
} }
} }
}
// change the status if is a received and not yet read message // change the status if is a received and not yet read message
if($message->message_type == 'R' && $message->readed != 'Y') if($message->message_type == 'R' && $message->readed != 'Y')