mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +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
|
|
@ -339,13 +339,18 @@
|
|||
}
|
||||
// If additional content information is set
|
||||
if($add_content_info) {
|
||||
$memberSrl = $this->get('member_srl');
|
||||
if($memberSrl < 0)
|
||||
{
|
||||
$memberSrl = 0;
|
||||
}
|
||||
$content = sprintf(
|
||||
'<!--BeforeDocument(%d,%d)--><div class="document_%d_%d xe_content">%s</div><!--AfterDocument(%d,%d)-->',
|
||||
$this->document_srl, $this->get('member_srl'),
|
||||
$this->document_srl, $this->get('member_srl'),
|
||||
$this->document_srl, $memberSrl,
|
||||
$this->document_srl, $memberSrl,
|
||||
$content,
|
||||
$this->document_srl, $this->get('member_srl'),
|
||||
$this->document_srl, $this->get('member_srl')
|
||||
$this->document_srl, $memberSrl,
|
||||
$this->document_srl, $memberSrl
|
||||
);
|
||||
// Add xe_content class although accessing content is not required
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue