mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
issue 464 fixed comment editor error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9595 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d1c31a6134
commit
7260b45c1a
1 changed files with 3 additions and 3 deletions
|
|
@ -703,10 +703,10 @@
|
|||
**/
|
||||
function isEnableComment() {
|
||||
// Return false if not authorized, if a secret document, if the document is set not to allow any comment
|
||||
// old version allowed admin(isGranted() method use), but admin not allow comment below condition
|
||||
if( $this->isGranted() && $this->allowComment() ) return true;
|
||||
if (!$this->allowComment()) return false;
|
||||
if(!$this->isGranted() && $this->isSecret()) return false;
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue