CodeIgniter fix to deal with null-values

这个提交包含在:
int2001 2023-08-01 13:01:20 +00:00
父节点 ff1b5b760d
当前提交 5c012f66c4
找不到此签名对应的密钥
GPG 密钥 ID: DFB1C13CD2DB037B

查看文件

@ -1062,7 +1062,7 @@ class CI_Form_validation {
{
return is_array($str)
? (empty($str) === FALSE)
: (trim($str) !== '');
: (trim($str ?? '') !== '');
}
// --------------------------------------------------------------------