diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2019-12-20 11:09:25 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-01-07 15:42:59 +0100 |
commit | 25318fb013a332cf29994784b4631bcaa00e525a (patch) | |
tree | 8b8bf52984fe995d2d3e6f6e2a3cf1cc80e5ef59 /admin/WebConsole/idiomas | |
parent | daf9bccfb34a9d006311105c565056be391ca045 (diff) |
#948 Fix entity (Entidad) creation
Pepe Frias reports that the creation of a new entity does not work. The
WebConsole throws this error:
004 : Comando Error - La sentencia SQL del comando no es correcta.
The WebConsole treats the parameter $ogunit as a string but the Database
treats $ogunit as a tinyint. So, when the WebConsole tries to do the
query the Database throws an error code: 1366.
Error number: 1366; Symbol: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD;
SQLSTATE: HY000
Message: Incorrect %s value: '%s' for column '%s' at row %ld
This commit changes the behaviour of gestor_entidades.php to treat
ogunit as an integer.
Diffstat (limited to 'admin/WebConsole/idiomas')
0 files changed, 0 insertions, 0 deletions