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

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

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ if (!preg_match('/[A-Za-z0-9_]{1,20}/', $target_table))
}
$row = sql_fetch(" select count(*) as cnt from {$g4['board_table']} where bo_table = $target_table ");
if ($row['cnt'])
if ($row[cnt])
alert($target_table.'은(는) 이미 존재하는 게시판 TABLE 입니다.\\n\\n복사할 TABLE로 사용할 수 없습니다.');
check_token();