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
This commit is contained in:
parent
fb48abc35a
commit
dc35a8af83
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