Commit 9ed906ca40006f2717ffe7885a873c8553c4b254
1 parent
085aa197
Exists in
master
and in
7 other branches
Correção na inserção de dados (campos numéricos com problemas)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
admin/php/webservices.php
... | ... | @@ -83,7 +83,7 @@ function alterarWS() |
83 | 83 | } |
84 | 84 | else |
85 | 85 | { |
86 | - $dbhw->query("INSERT INTO i3geoadmin_ws (nome_ws,desc_ws,autor_ws,tipo_ws,link_ws,nacessos,nacessosok) VALUES ('','','','','','','')"); | |
86 | + $dbhw->query("INSERT INTO i3geoadmin_ws (nome_ws,desc_ws,autor_ws,tipo_ws,link_ws,nacessos,nacessosok) VALUES ('','','','','',0,0)"); | |
87 | 87 | $id = $dbhw->query("SELECT id_ws FROM i3geoadmin_ws"); |
88 | 88 | $id = $id->fetchAll(); |
89 | 89 | $id = intval($id[count($id)-1]['id_ws']); | ... | ... |