I have decimail fields in my database, and if they are empty(not filled in form) a have error: "Incorrect decimal value" instead behavior of int fields which are covered by
if (stristr($tableColumns[$k], 'int') !== false && $v === '') {
continue;
}
in mysql drivers.
If I add under this next code:
if (stristr($tableColumns[$k], 'decimal') !== false && $v === '') {
continue;javascript:
}
the behaviour works as expected and item is saved without error
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
@filipbartmann As you correctly have mentioned, it is an issue with the database drivers. Could you report it in the framework repository here? https://github.com/joomla-framework/database/issues
Thanks in advance.