Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
whitedot
2013-02-18 13:40:47 +09:00

View File

@ -14,11 +14,11 @@ $sql_common = " from {$g4['group_member_table']} a
$sql_search = " where gr_id = '{$gr_id}' "; $sql_search = " where gr_id = '{$gr_id}' ";
// 회원아이디로 검색되지 않던 오류를 수정 // 회원아이디로 검색되지 않던 오류를 수정
if (isset($stx)) { if (isset($stx) && $stx) {
$sql_search .= " and ( "; $sql_search .= " and ( ";
switch ($sfl) { switch ($sfl) {
default : default :
$sql_search .= " ({$sfl} like '%{$stx}%') "; $sql_search .= " ($sfl like '%$stx%') ";
break; break;
} }
$sql_search .= " ) "; $sql_search .= " ) ";