From 0ded1df66db2c74f7858061dbc9bca5cdaf6a5ee Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 4 Jun 2024 11:27:16 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=BC=ED=92=88=EC=9E=AC=EA=B3=A0=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=EA=B0=80=20=EC=A0=9C=EB=8C=80=EB=A1=9C=20=ED=91=9C?= =?UTF-8?q?=EC=8B=9C=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/itemstocklist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adm/shop_admin/itemstocklist.php b/adm/shop_admin/itemstocklist.php index 314192d858..93fe0f6e62 100644 --- a/adm/shop_admin/itemstocklist.php +++ b/adm/shop_admin/itemstocklist.php @@ -35,7 +35,7 @@ // 테이블의 전체 레코드수만 얻음 $sql = " select count(*) as cnt " . $sql_common; $row = sql_fetch($sql); -$total_count = $row['cnt']; +$total_count = isset($row['cnt']) ? $row['cnt'] : 0; $rows = $config['cf_page_rows']; $total_page = ceil($total_count / $rows); // 전체 페이지 계산 @@ -171,7 +171,7 @@ - +