diff options
author | Elizabeth Danzberger <lizzy7128@tutanota.de> | 2024-07-16 12:06:05 -0400 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2024-07-25 11:11:40 +0200 |
commit | 6cd83fc96ac8f79107f911271c678285e876d85d (patch) | |
tree | 164e811e1a5907ef765fba91422c0d42bc393692 /lib/public/Files | |
parent | 912a938157c6f1b490e3a061332eeb9b57c72eea (diff) | |
download | nextcloud-server-6cd83fc96ac8f79107f911271c678285e876d85d.tar.gz nextcloud-server-6cd83fc96ac8f79107f911271c678285e876d85d.zip |
fix: Make field index a string for better id/index support
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Diffstat (limited to 'lib/public/Files')
-rw-r--r-- | lib/public/Files/Template/Field.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Files/Template/Field.php b/lib/public/Files/Template/Field.php index 628fef20a0a..c86a623f980 100644 --- a/lib/public/Files/Template/Field.php +++ b/lib/public/Files/Template/Field.php @@ -10,7 +10,7 @@ namespace OCP\Files\Template; use OCP\Files\Template\InvalidFieldTypeException; class Field implements \JsonSerializable { - private int $index; + private string $index; private string $content; private FieldType $type; private ?int $id; |