Skip to content

Commit

Permalink
Merge pull request #43187 from hschletz/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Feb 23, 2024
2 parents 7cf3172 + b277841 commit b172097
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 b172097

Please sign in to comment.