bbs/newwin.inc.php 파일에서 팝업테이블이 존재하지 않을경우를 대비하여 조회문에 false옵션을 주어 오류가 일어나지 않게 함
This commit is contained in:
@ -5,7 +5,7 @@ $sql = " select * from {$g5['new_win_table']}
|
||||
where '".G5_TIME_YMDHIS."' between nw_begin_time and nw_end_time
|
||||
and nw_device IN ( 'both', 'pc' )
|
||||
order by nw_id asc ";
|
||||
$result = sql_query($sql);
|
||||
$result = sql_query($sql, false);
|
||||
for ($i=0; $row_nw=sql_fetch_array($result); $i++)
|
||||
{
|
||||
// 이미 체크 되었다면 Continue
|
||||
|
||||
Reference in New Issue
Block a user