mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 21:03:19 +09:00
Restrict addGrant() to current request only
This commit is contained in:
parent
e4fe2430d3
commit
9143493f13
6 changed files with 22 additions and 14 deletions
|
|
@ -25,7 +25,7 @@ class documentModel extends document
|
|||
*/
|
||||
function isGranted($document_srl)
|
||||
{
|
||||
return $_SESSION['own_document'][$document_srl];
|
||||
return $_SESSION['granted_document'][$document_srl];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue