From 8b17f0d2244c4703b142838cfe94dd63503c8d3f Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 21 Feb 2018 19:53:44 +0100 Subject: Fix other tests Signed-off-by: Roeland Jago Douma --- lib/private/L10N/L10N.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/private/L10N/L10N.php') diff --git a/lib/private/L10N/L10N.php b/lib/private/L10N/L10N.php index f771a99e5d0..f0e37ca1a5d 100644 --- a/lib/private/L10N/L10N.php +++ b/lib/private/L10N/L10N.php @@ -159,6 +159,7 @@ class L10N implements IL10N { $data = strtotime($data); $value->setTimestamp($data); } else if ($data !== null) { + $data = (int)$data; $value->setTimestamp($data); } -- cgit v1.2.3