aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/L10N/L10N.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-21 19:53:44 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-21 19:53:44 +0100
commit8b17f0d2244c4703b142838cfe94dd63503c8d3f (patch)
tree7678d300123d06d249cc798e0a5a2540e959f5c2 /lib/private/L10N/L10N.php
parent2b0d64022552f6f5bb0ad64a3df8f93c60b05736 (diff)
downloadnextcloud-server-8b17f0d2244c4703b142838cfe94dd63503c8d3f.tar.gz
nextcloud-server-8b17f0d2244c4703b142838cfe94dd63503c8d3f.zip
Fix other tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/L10N/L10N.php')
-rw-r--r--lib/private/L10N/L10N.php1
1 files changed, 1 insertions, 0 deletions
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);
}