Restrict addGrant() to current request only

This commit is contained in:
Kijin Sung 2017-03-02 23:24:28 +09:00
parent e4fe2430d3
commit 9143493f13
6 changed files with 22 additions and 14 deletions

View file

@ -121,7 +121,7 @@ class commentModel extends comment
*/
function isGranted($comment_srl)
{
return $_SESSION['own_comment'][$comment_srl];
return $_SESSION['granted_comment'][$comment_srl];
}
/**