From d1a06c11cfc63204b877114cf0380b5b84c8deb0 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 7 Aug 2019 14:12:47 +0200 Subject: [PATCH] DataTypeDatalist: set default target type "string" --- library/Director/DataType/DataTypeDatalist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/DataType/DataTypeDatalist.php b/library/Director/DataType/DataTypeDatalist.php index a21fb9bf..16fc18cb 100644 --- a/library/Director/DataType/DataTypeDatalist.php +++ b/library/Director/DataType/DataTypeDatalist.php @@ -23,7 +23,7 @@ class DataTypeDatalist extends DataTypeHook { $params = []; $behavior = $this->getSetting('behavior', 'strict'); - $targetDataType = $this->getSetting('data_type'); + $targetDataType = $this->getSetting('data_type', 'string'); $listId = $this->getSetting('datalist_id'); if ($behavior === 'strict') {