diff --git a/adm/admin.lib.php b/adm/admin.lib.php index d420b18b1..af780a2ff 100644 --- a/adm/admin.lib.php +++ b/adm/admin.lib.php @@ -184,7 +184,7 @@ function get_theme_config_value($dir, $key='*') } else { $keys = array_map('trim', explode(',', $key)); foreach($keys as $v) { - $tconfig[$v] = trim($theme_config[$v]); + $tconfig[$v] = isset($theme_config[$v]) ? trim($theme_config[$v]) : ''; } } } diff --git a/adm/sms_admin/emoticon_move_update.php b/adm/sms_admin/emoticon_move_update.php index 30a6bf330..08fe2848e 100644 --- a/adm/sms_admin/emoticon_move_update.php +++ b/adm/sms_admin/emoticon_move_update.php @@ -1,4 +1,5 @@ -HEREDOC; \ No newline at end of file +돌아가기 + \ No newline at end of file diff --git a/adm/sms_admin/form_list.php b/adm/sms_admin/form_list.php index 64b771ae3..9fb66bb4a 100644 --- a/adm/sms_admin/form_list.php +++ b/adm/sms_admin/form_list.php @@ -34,7 +34,7 @@ if ($st == 'all') { } $total_res = sql_fetch("select count(*) as cnt from {$g5['sms5_form_table']} where 1 $sql_group $sql_search"); -$total_count = $total_res['cnt']; +$total_count = isset($total_res['cnt']) ? $total_res['cnt'] : 0; $total_page = (int)($total_count/$page_size) + ($total_count%$page_size==0 ? 0 : 1); $page_start = $page_size * ( $page - 1 ); @@ -46,7 +46,7 @@ $qry = sql_query("select * from {$g5['sms5_form_group_table']} order by fg_name" while ($res = sql_fetch_array($qry)) array_push($group, $res); $res = sql_fetch("select count(*) as cnt from {$g5['sms5_form_table']} where fg_no=0"); -$no_count = $res['cnt']; +$no_count = isset($res['cnt']) ? $res['cnt'] : 0; include_once(G5_ADMIN_PATH.'/admin.head.php'); ?> @@ -146,6 +146,7 @@ function multi_update(sel)
+