Merge pull request #14448 from mzamot/master

Convert value of timestamp metadata key in swift files_external
pull/14466/head
Roeland Jago Douma 5 years ago committed by GitHub
commit ba155a98db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save