mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
Partially revert #584
Bug reported in https://www.xetown.com/qna/375598
This commit is contained in:
parent
6dd776bd15
commit
54bbc36e73
2 changed files with 5 additions and 14 deletions
|
|
@ -162,16 +162,16 @@ class documentItem extends Object
|
|||
|
||||
function isGranted()
|
||||
{
|
||||
if ($this->grant_cache !== null)
|
||||
{
|
||||
return $this->grant_cache;
|
||||
}
|
||||
|
||||
if ($_SESSION['own_document'][$this->document_srl])
|
||||
{
|
||||
return $this->grant_cache = true;
|
||||
}
|
||||
|
||||
if ($this->grant_cache !== null)
|
||||
{
|
||||
return $this->grant_cache;
|
||||
}
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
if (!$logged_info->member_srl)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue