PHP 각 버전에 호환 되도록 일부코드 수정

This commit is contained in:
thisgun
2021-01-14 10:21:37 +09:00
parent 031949528b
commit 9db6d7a1da
2 changed files with 5 additions and 6 deletions

View File

@ -16,7 +16,7 @@ $result = sql_query($sql, false);
for ($i=0; $nw=sql_fetch_array($result); $i++)
{
// 이미 체크 되었다면 Continue
if ($_COOKIE["hd_pops_{$nw['nw_id']}"])
if (isset($_COOKIE["hd_pops_{$nw['nw_id']}"]) && $_COOKIE["hd_pops_{$nw['nw_id']}"])
continue;
?>