Commit 4aef79ece1c39942abf68416d0a74a08831499f9
1 parent
1d507cf4
Exists in
master
and in
7 other branches
$1
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
ferramentas/metaestat/index.js
| ... | ... | @@ -1372,7 +1372,9 @@ i3GEOF.metaestat = { |
| 1372 | 1372 | } |
| 1373 | 1373 | else{ |
| 1374 | 1374 | val = i3GEO.util.valoresCheckCombo(c.id); |
| 1375 | - t.push(dados[i].coluna+' IN ("'+val.join('","')+'")'); | |
| 1375 | + if(val.length > 0){ | |
| 1376 | + t.push(dados[i].coluna+' IN ("'+val.join('","')+'")'); | |
| 1377 | + } | |
| 1376 | 1378 | } |
| 1377 | 1379 | } |
| 1378 | 1380 | } | ... | ... |