From 1af1e92b600d95cf7c939f640d9234013791aa12 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 20 Sep 2018 17:22:46 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B0931:=20Fix=20error=20reporting=20for=20d?= =?UTF-8?q?ata=20synchro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/attributedef.class.inc.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index 08ee16d9d9..73a5a98a35 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -6863,6 +6863,20 @@ class AttributeTagSet extends AttributeDBFieldVoid return $this->GetExistingTagsFromString($sValue); } + /** + * @param $aCols + * @param string $sPrefix + * + * @return mixed + * @throws \Exception + */ + public function FromImportToValue($aCols, $sPrefix = '') + { + $sValue = $aCols["$sPrefix"]; + + return $this->MakeRealValue($sValue, null); + } + /** * force an allowed value (type conversion and possibly forces a value as mySQL would do upon writing! *