Skip to content

Commit

Permalink
Merge pull request #43801 from nextcloud/backport/43187/stable28
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv committed Feb 29, 2024
2 parents ac6fe28 + 4bc9ba2 commit 7fe1a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/FilesMetadata/Model/FilesMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ public function setIntList(string $key, array $value, bool $index = false): IFil
// 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;

Expand Down

0 comments on commit 7fe1a22

Please sign in to comment.