cnt, cf_page_rows 땀표 정리 및 #47의 1에 따른 처리

This commit is contained in:
whitedot
2012-11-16 10:39:15 +09:00
parent 1149d86cf7
commit 09bc4e69b2
24 changed files with 48 additions and 47 deletions

View File

@ -8,7 +8,7 @@ auth_check($auth[$sub_menu], 'd');
$gr_id = mysql_real_escape_string(trim($_POST['gr_id']));
$row = sql_fetch(" select count(*) as cnt from {$g4['board_table']} where gr_id = '{$gr_id}' ");
if ($row['cnt'])
if ($row[cnt])
alert('이 그룹에 속한 게시판이 존재하여 게시판 그룹을 삭제할 수 없습니다.'.PHP_EOL.PHP_EOL.'이 그룹에 속한 게시판을 먼저 삭제하여 주십시오.', './board_list.php?sfl=gr_id&stx='.$gr_id);