修复 一处附件免积分下载的漏洞
This commit is contained in:
parent
2ed1b98ea1
commit
d12b00ba24
|
@ -26,7 +26,7 @@ if($_GET['action'] == 'paysucceed') {
|
|||
exit;
|
||||
|
||||
} elseif($_GET['action'] == 'attachcredit') {
|
||||
if($_GET['formhash'] != FORMHASH) {
|
||||
if($_GET['formhash'] != FORMHASH || !$_G['uid']) {
|
||||
showmessage('undefined_action', NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue