git-svn-id: http://xe-core.googlecode.com/svn/trunk@1638 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-18 04:25:01 +00:00
parent 6cb227b8cf
commit 248fb7b786
2 changed files with 15 additions and 17 deletions

View file

@ -50,7 +50,7 @@
}
function isGranted() {
if($_SESSION['own_attribute'][$this->document_srl]) return true;
if($_SESSION['own_document'][$this->document_srl]) return true;
if(!Context::get('is_logged')) return false;
@ -64,7 +64,7 @@
}
function setGrant() {
$_SESSION['own_attribute'][$this->document_srl] = true;
$_SESSION['own_document'][$this->document_srl] = true;
}
function allowComment() {