Closed fritzmg closed 8 years ago
In the DCA of tl_content, the SQL definition for the field dlh_googlemap_zoom is defined as follows:
tl_content
dlh_googlemap_zoom
"int(10) unsigned NOT NULL default '0'"
It's an integer field that cannot be NULL and defaults to zero, if no value is given during an INSERT operation.
INSERT
However, the default value in the DCA is defined as follows:
'default' => ''
This will lead to a MySQL error, if the MySQL server runs in a strict mode, since you cannot insert an empty string into such a field then.
The default value should be defined as follows:
'default' => 0
You're right, thanks. I'll set it to an integer value with the next version.
In the DCA of
tl_content
, the SQL definition for the fielddlh_googlemap_zoom
is defined as follows:It's an integer field that cannot be NULL and defaults to zero, if no value is given during an
INSERT
operation.However, the default value in the DCA is defined as follows:
This will lead to a MySQL error, if the MySQL server runs in a strict mode, since you cannot insert an empty string into such a field then.
The default value should be defined as follows: