php warning 메시지 코드 수정

This commit is contained in:
thisgun
2025-05-14 11:59:40 +09:00
parent f9c972d866
commit 5a91d37365
3 changed files with 10 additions and 4 deletions

View File

@ -20,7 +20,7 @@ if (!($w == '' || $w == 'u' || $w == 'r')) {
}
if ($w == 'u' || $w == 'r') {
if ($write['wr_id']) {
if (isset($write['wr_id']) && $write['wr_id']) {
// 가변 변수로 $wr_1 .. $wr_10 까지 만든다.
for ($i=1; $i<=10; $i++) {
$vvar = "wr_".$i;