From 1fbb60def52fa8abaa95eeac215d4e1cef5adb6f Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 12 Jan 2022 20:04:16 +0100 Subject: [PATCH] wip #5023 @0.25 --- src/app/Magic/Fields/Files.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/Magic/Fields/Files.php b/src/app/Magic/Fields/Files.php index 4f81c8a..108f4c0 100644 --- a/src/app/Magic/Fields/Files.php +++ b/src/app/Magic/Fields/Files.php @@ -15,6 +15,7 @@ class Files extends Field protected $_thumbConversion = 'backpack_thumb'; protected $_nameAsCollection = false; protected $_maxFiles = 1; + protected $_cast = 'string'; public function getDefaultAttributes() { -- 2.39.5