PHP 8 Compatibility
This commit is contained in:
@@ -38,7 +38,7 @@ class DateHelper extends Base
|
||||
return '';
|
||||
}
|
||||
|
||||
if (! ctype_digit($value)) {
|
||||
if (! ctype_digit((string) $value)) {
|
||||
$value = strtotime($value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user