分页组件适配php8.1

feat/task1-c-wallet
gongfuxiang 2022-11-30 12:01:50 +08:00
parent 4a0d8db3aa
commit 03e1ce6042
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ class Page
{
continue;
}
$k = htmlspecialchars($k);
$v = htmlspecialchars($v);
$k = empty($k) ? $k : htmlspecialchars($k);
$v = empty($v) ? $v : htmlspecialchars($v);
if($tmp)
{