aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-02-29 11:31:40 +0100
committerGitHub <noreply@github.com>2024-02-29 11:31:40 +0100
commit7fe1a222624146a9693cb0a0584aa28b3ebd9a08 (patch)
treeff49671cce651b2c7aad3b35a09bf44a49787258 /lib
parentac6fe28da4892464b3f4296d07a749bec5106b87 (diff)
parent4bc9ba2a03c2be478580c2c9ff5fbfd2c0b73c3d (diff)
downloadnextcloud-server-7fe1a222624146a9693cb0a0584aa28b3ebd9a08.tar.gz
nextcloud-server-7fe1a222624146a9693cb0a0584aa28b3ebd9a08.zip
Merge pull request #43801 from nextcloud/backport/43187/stable28
Diffstat (limited to 'lib')
-rw-r--r--lib/private/FilesMetadata/Model/FilesMetadata.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/FilesMetadata/Model/FilesMetadata.php b/lib/private/FilesMetadata/Model/FilesMetadata.php
index 629b537dabe..84cb177bc37 100644
--- a/lib/private/FilesMetadata/Model/FilesMetadata.php
+++ b/lib/private/FilesMetadata/Model/FilesMetadata.php
@@ -480,7 +480,7 @@ class FilesMetadata implements IFilesMetadata {
// if value does not exist, or type has changed, we keep on the writing
}
- $valueWrapper = new MetadataValueWrapper(IMetadataValueWrapper::TYPE_STRING_LIST);
+ $valueWrapper = new MetadataValueWrapper(IMetadataValueWrapper::TYPE_INT_LIST);
$this->metadata[$key] = $valueWrapper->setValueIntList($value)->setIndexed($index);
$this->updated = true;