1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 18:24:57 +02:00
This commit is contained in:
Ryan Cramer
2022-07-08 13:02:33 -04:00
parent 03acb77306
commit 2da2c45382
5 changed files with 8 additions and 5 deletions

View File

@@ -2788,7 +2788,7 @@ class PageFinder extends Wire {
} else if(in_array($field, array('created', 'modified', 'published'))) {
// prepare value for created, modified or published date fields
if(!ctype_digit($value)) {
if(!ctype_digit("$value")) {
$value = $datetime->strtotime($value);
}
if(empty($value)) {