잘못된 코드 수정
This commit is contained in:
1 parent
85fcbbbdb7
commit
78dc1a91d3
3 files changed
+6
-5
No files matched your search
@@ -17,8 +17,8 @@ function g54_return_invalid_password($bool, $type, $wr){
|
||||
return $bool;
|
||||
}
|
||||
|
||||
function g54_check_bbs_password($type, $wr, $qstr){
|
||||
if($type === 'bbs' && $wr['wr_password'] && isset($_POST['wr_password'])) {
|
||||
function g54_check_bbs_password($type, $wr, $qstr=''){
|
||||
if($type === 'bbs' && (isset($wr['wr_password']) && $wr['wr_password']) && isset($_POST['wr_password'])) {
|
||||
|
||||
global $bo_table, $w;
|
||||
|
||||
@@ -31,7 +31,7 @@ function g54_check_bbs_password($type, $wr, $qstr){
|
||||
$ss_name = 'ss_secret_comment_'.$bo_table.'_'.$wr['wr_id'];
|
||||
set_session($ss_name, TRUE);
|
||||
}
|
||||
goto_url(G5_HTTP_BBS_URL.'/board.php?'.$qstr);
|
||||
goto_url(short_url_clean(G5_HTTP_BBS_URL.'/board.php?'.$qstr));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user