Merge pull request #14448 from mzamot/master
Convert value of timestamp metadata key in swift files_external
This commit is contained in:
commit
ba155a98db
1 changed files with 1 additions and 1 deletions
|
@ -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 .= '/';
|
||||
|
|
Loading…
Reference in a new issue