게시판 검색시 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

@ -250,7 +250,7 @@ if (isset($_REQUEST['sfl'])) {
if (isset($_REQUEST['stx'])) { // search text (검색어)
$stx = get_search_string(trim($_REQUEST['stx']));
if ($stx)
if ($stx || $stx === '0')
$qstr .= '&stx=' . urlencode(cut_str($stx, 20, ''));
} else {
$stx = '';