From 23941f32d3550feb8751d59e8e435d4d4aad127b Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Wed, 22 May 2019 16:32:21 +0200 Subject: [PATCH] Removed bug when saving NULL values --- src/admin/common/abstract/model.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/admin/common/abstract/model.php b/src/admin/common/abstract/model.php index 1d00ba2..1b1dab8 100644 --- a/src/admin/common/abstract/model.php +++ b/src/admin/common/abstract/model.php @@ -207,7 +207,10 @@ abstract class AbstractCommonClubsModel $v['type'] = 'string'; if($rawData[$k] === NULL) + { $quotedData[$k] = 'NULL'; + continue; + } switch($v['type']) {