PHP8에서 삭제된 함수 대체 및 짧은 주소 잘못된 코드 수정

This commit is contained in:
thisgun
2021-01-11 14:43:27 +09:00
parent 233966fb4c
commit 85697e71b0
2 changed files with 6 additions and 4 deletions

View File

@ -91,7 +91,7 @@ function get_pretty_url($folder, $no='', $query_string='', $action='')
$url .= ($folder === 'content') ? '?co_id='. $no : '?'. $no;
}
if($query_string) {
$url .= ($no ? '?' : '&'). $query_string;
$url .= (!$no ? '?' : '&'). $query_string;
}
}