kopia lustrzana https://github.com/magicbug/Cloudlog
CodeIgniter fix to deal with null-values
rodzic
ff1b5b760d
commit
5c012f66c4
|
@ -1062,7 +1062,7 @@ class CI_Form_validation {
|
|||
{
|
||||
return is_array($str)
|
||||
? (empty($str) === FALSE)
|
||||
: (trim($str) !== '');
|
||||
: (trim($str ?? '') !== '');
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
|
Ładowanie…
Reference in New Issue