Commit 7550bec932bc7981d920f39eb05e7ff9e96e6fe3
1 parent
bbd9509a
Exists in
master
and in
7 other branches
Correção na verificação da variável que ativa o log de transações
Showing
2 changed files
with
1 additions
and
1 deletions
Show diff stats
admin/admin.db
No preview for this file type
admin/php/admin.php
... | ... | @@ -304,7 +304,7 @@ function i3GeoAdminInsertUnico($pdo,$tabela,$data,$colTemp,$colId){ |
304 | 304 | //ver tambem classe_metaestat.php |
305 | 305 | function i3GeoAdminInsertLog($pdo,$sql,$data=array()){ |
306 | 306 | global $esquemaadmin, $logTransacoes; |
307 | - if(isset($logTransacoes) == true && $logTransacoes !== true){ | |
307 | + if($logTransacoes == "" || $logTransacoes !== true){ | |
308 | 308 | return; |
309 | 309 | } |
310 | 310 | $s = "INSERT INTO ".$esquemaadmin."i3geoadmin_log(sql,serializedata,usuario,ip,timestamp,outros) VALUES (?,?,?,?,?,?)"; | ... | ... |