diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-03-01 21:26:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 21:26:56 +0100 |
commit | ba155a98db1a03e328972ae3737097eb4d300092 (patch) | |
tree | 07b22b3b6d884c9315ca3ead85f600b6e0631f2f /apps/files_external | |
parent | 2398d1183e7e561c8d3db7c06d8919d09c26b9e8 (diff) | |
parent | dc35a8af830dcb540fb33c8a2444625b94f26da1 (diff) | |
download | nextcloud-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.php | 2 |
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 .= '/'; |