mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +09:00
issue 160, fix a bug for lock document object when document object is first initialize
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9246 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5e4638ae94
commit
28c8c97343
1 changed files with 9 additions and 7 deletions
|
|
@ -122,6 +122,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function isLocked() {
|
function isLocked() {
|
||||||
|
if(!$this->isExists()) return false;
|
||||||
|
|
||||||
return $this->get('comment_status') == 'ALLOW' ? false : true;
|
return $this->get('comment_status') == 'ALLOW' ? false : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue