mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +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
|
|
@ -121,7 +121,7 @@ class commentModel extends comment
|
|||
*/
|
||||
function isGranted($comment_srl)
|
||||
{
|
||||
return $_SESSION['own_comment'][$comment_srl];
|
||||
return $_SESSION['granted_comment'][$comment_srl];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue