Skip to content
Snippets Groups Projects
Unverified Commit ba155a98 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #14448 from mzamot/master

Convert value of timestamp metadata key in swift files_external
parents 2398d118 dc35a8af
No related branches found
No related tags found
No related merge requests found
......@@ -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 .= '/';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment