mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-07 20:42:10 +09:00
Issue 34: Allow comments for post
This issue was for textyle but we observed that there was an error on updateDocument regarding commentStatus git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10025 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8665a2a60a
commit
de2991fef6
1 changed files with 1 additions and 0 deletions
|
|
@ -295,6 +295,7 @@ class documentController extends document {
|
|||
$obj->ipaddress = $source_obj->get('ipaddress');
|
||||
}
|
||||
// List variables
|
||||
if($obj->comment_status) $obj->commentStatus = $obj->comment_status;
|
||||
if(!$obj->commentStatus) $obj->commentStatus = 'DENY';
|
||||
if($obj->commentStatus == 'DENY') $this->_checkCommentStatusForOldVersion($obj);
|
||||
if($obj->allow_trackback!='Y') $obj->allow_trackback = 'N';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue