게시판 검색시 0 문자열로 검색할수 있도록 수정

This commit is contained in:
thisgun
2018-02-26 11:50:17 +09:00
parent 9e8f75e8fa
commit 5b9b29fdfe
4 changed files with 13 additions and 9 deletions

View File

@ -10,7 +10,7 @@ if ($sop != 'and' && $sop != 'or')
$sql_search = "";
// 검색이면
if ($sca || $stx) {
if ($sca || $stx || $stx === '0') {
// where 문을 얻음
$sql_search = get_sql_search($sca, $sfl, $stx, $sop);
$search_href = './board.php?bo_table='.$bo_table.'&page='.$page.$qstr;