Removed bug when saving NULL values

This commit is contained in:
Christian Wolf 2019-05-22 16:32:21 +02:00
parent a9caa06e02
commit 23941f32d3

View File

@ -207,7 +207,10 @@ abstract class AbstractCommonClubsModel
$v['type'] = 'string'; $v['type'] = 'string';
if($rawData[$k] === NULL) if($rawData[$k] === NULL)
{
$quotedData[$k] = 'NULL'; $quotedData[$k] = 'NULL';
continue;
}
switch($v['type']) switch($v['type'])
{ {