mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
issue 1513 if write by anonymous, change member_srl to zero
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10284 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
63f943770b
commit
c1cc5b81c0
2 changed files with 17 additions and 7 deletions
|
|
@ -183,12 +183,17 @@
|
|||
}
|
||||
// if additional information which can access contents is set
|
||||
if($add_content_info) {
|
||||
$memberSrl = $this->get('member_srl');
|
||||
if($memberSrl < 0)
|
||||
{
|
||||
$memberSrl = 0;
|
||||
}
|
||||
$content = sprintf(
|
||||
'<!--BeforeComment(%d,%d)--><div class="comment_%d_%d xe_content">%s</div><!--AfterComment(%d,%d)-->',
|
||||
$this->comment_srl, $this->get('member_srl'),
|
||||
$this->comment_srl, $this->get('member_srl'),
|
||||
$this->comment_srl, $memberSrl,
|
||||
$this->comment_srl, $memberSrl,
|
||||
$content,
|
||||
$this->comment_srl, $this->get('member_srl')
|
||||
$this->comment_srl, $memberSrl
|
||||
);
|
||||
// xe_content class name should be specified although content access is not necessary.
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue