From 11ed423bcae870785aca04c844b52c3c5cfc44d0 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Mon, 13 Jan 2020 14:24:44 -0500 Subject: [PATCH] Fix issue processwire/processwire-issues#1061 --- wire/core/PagesEditor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wire/core/PagesEditor.php b/wire/core/PagesEditor.php index 5625f52e..5f7cb533 100644 --- a/wire/core/PagesEditor.php +++ b/wire/core/PagesEditor.php @@ -1362,12 +1362,12 @@ class PagesEditor extends Wire { } else if(is_int($time) || ctype_digit($time)) { $time = (int) $time; - $sql .= ':time'; + $sql .= ':time '; } else if(is_string($time)) { $time = strtotime($time); if(!$time) throw new WireException("Unrecognized time format provided to Pages::touch()"); - $sql .= ':time'; + $sql .= ':time '; } $sql .= 'WHERE id IN(' . implode(',', $ids) . ')';