diff options
author | Michael Zamot <michael@zamot.io> | 2019-02-28 13:42:55 -0700 |
---|---|---|
committer | Michael Zamot <michael@zamot.io> | 2019-03-01 12:10:37 -0700 |
commit | dc35a8af830dcb540fb33c8a2444625b94f26da1 (patch) | |
tree | b9999740b178e49a2559d21e104306782eaad9f5 /apps/files_external | |
parent | fb48abc35ab9d36c6d9eef5fa0ac1fe92bba0f73 (diff) | |
download | nextcloud-server-dc35a8af830dcb540fb33c8a2444625b94f26da1.tar.gz nextcloud-server-dc35a8af830dcb540fb33c8a2444625b94f26da1.zip |
Convert timestamp key value of metadata in Swift files_external
modified: apps/files_external/lib/Lib/Storage/Swift.php
Signed-off-by: Michael Zamot <michael@zamot.io>
Convert value of timestamp metadata key in swift files_external to string
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 .= '/'; |