summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-03-01 21:26:56 +0100
committerGitHub <noreply@github.com>2019-03-01 21:26:56 +0100
commitba155a98db1a03e328972ae3737097eb4d300092 (patch)
tree07b22b3b6d884c9315ca3ead85f600b6e0631f2f /apps/files_external
parent2398d1183e7e561c8d3db7c06d8919d09c26b9e8 (diff)
parentdc35a8af830dcb540fb33c8a2444625b94f26da1 (diff)
downloadnextcloud-server-ba155a98db1a03e328972ae3737097eb4d300092.tar.gz
nextcloud-server-ba155a98db1a03e328972ae3737097eb4d300092.zip
Merge pull request #14448 from mzamot/master
Convert value of timestamp metadata key in swift files_external
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/Lib/Storage/Swift.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/Swift.php b/apps/files_external/lib/Lib/Storage/Swift.php
index 689fd700253..67a40310b31 100644
--- a/apps/files_external/lib/Lib/Storage/Swift.php
+++ b/apps/files_external/lib/Lib/Storage/Swift.php
@@ -451,7 +451,7 @@ class Swift extends \OC\Files\Storage\Common {
if (is_null($mtime)) {
$mtime = time();
}
- $metadata = ['timestamp' => $mtime];
+ $metadata = ['timestamp' => (string)$mtime];
if ($this->file_exists($path)) {
if ($this->is_dir($path) && $path !== '.') {
$path .= '/';