We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
You're right, thanks. I'll set it to an integer value with the next version.
Sorry, something went wrong.
No branches or pull requests
In the DCA of
tl_content
, the SQL definition for the fielddlh_googlemap_zoom
is defined as follows:"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.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:
The text was updated successfully, but these errors were encountered: