Removed bug when saving NULL values
This commit is contained in:
parent
a9caa06e02
commit
23941f32d3
@ -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'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user