From c1842b0155a180918d7fcbd10e6e24a230f45e8f Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 15 Oct 2015 11:17:36 +0900 Subject: [PATCH] =?UTF-8?q?sms5=20=EB=B0=9C=EC=86=A1=20=EA=B8=B0=EB=8A=A5?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/sms_admin/sms_write_send.php | 9 +++++++++ plugin/sms5/sms5.lib.php | 13 ------------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/adm/sms_admin/sms_write_send.php b/adm/sms_admin/sms_write_send.php index f256c3e41..1244fee5a 100644 --- a/adm/sms_admin/sms_write_send.php +++ b/adm/sms_admin/sms_write_send.php @@ -42,6 +42,9 @@ while ($row = array_shift($send_list)) while ($row = sql_fetch_array($qry)) { $row['bk_hp'] = get_hp($row['bk_hp'], 0); + + if(!$row['bk_hp']) continue; + if ($wr_overlap && array_overlap($hps, $row['bk_hp'])) { $overlap++; array_push( $duplicate_data['hp'], $row['bk_hp'] ); @@ -63,6 +66,8 @@ while ($row = array_shift($send_list)) $hp = get_hp($row['mb_hp'], 0); $mb_id = $row['mb_id']; + if(!$hp) continue; + if ($wr_overlap && array_overlap($hps, $hp)) { $overlap++; array_push( $duplicate_data['hp'], $row['bk_hp'] ); @@ -84,6 +89,8 @@ while ($row = array_shift($send_list)) $hp = get_hp($item[$i][1], 0); $name = $item[$i][0]; + if(!$hp) continue; + if ($wr_overlap && array_overlap($hps, $hp)) { $overlap++; array_push( $duplicate_data['hp'], $row['bk_hp'] ); @@ -99,6 +106,8 @@ while ($row = array_shift($send_list)) $row = sql_fetch("select * from {$g5['sms5_book_table']} where bk_no='$item[$i]'"); $row['bk_hp'] = get_hp($row['bk_hp'], 0); + if(!$row['bk_hp']) continue; + if ($wr_overlap && array_overlap($hps, $row['bk_hp'])) { $overlap++; array_push( $duplicate_data['hp'], $row['bk_hp'] ); diff --git a/plugin/sms5/sms5.lib.php b/plugin/sms5/sms5.lib.php index 8979454dc..175c74f36 100644 --- a/plugin/sms5/sms5.lib.php +++ b/plugin/sms5/sms5.lib.php @@ -7,19 +7,6 @@ if (!defined('_GNUBOARD_')) exit; ** *************************************************************************/ -// 스킨디렉토리를 SELECT 형식으로 얻음 -function get_sms5_skin_select($skin_gubun, $id, $name, $selected='', $event='') -{ - $skins = get_skin_dir($skin_gubun, G5_SMS5_PATH); - $str = ""; - return $str; -} - // 한페이지에 보여줄 행, 현재페이지, 총페이지수, URL function sms5_sub_paging($write_pages, $cur_page, $total_page, $url, $add="", $starget="") {