게시글 정렬 기본값 지정
This commit is contained in:
@ -149,7 +149,9 @@ if (!$sst) {
|
||||
$sst = preg_match("/^(wr_datetime|wr_hit|wr_good|wr_nogood)$/i", $sst) ? $sst : "";
|
||||
}
|
||||
|
||||
$sql_order = '';
|
||||
if(!$sst)
|
||||
$sst = "wr_num, wr_reply";
|
||||
|
||||
if ($sst) {
|
||||
$sql_order = " order by {$sst} {$sod} ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user