issue 645 document exists check bug fix

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9942 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-12-13 01:55:06 +00:00
parent ced29fb810
commit 3bdda13056

View file

@ -99,7 +99,7 @@
} }
function allowComment() { function allowComment() {
if(!$this->isExists()) return true; if(!$this->isExists()) return false;
return $this->get('comment_status') == 'ALLOW' ? true : false; return $this->get('comment_status') == 'ALLOW' ? true : false;
} }