From 4aef79ece1c39942abf68416d0a74a08831499f9 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Wed, 30 Oct 2013 00:51:38 +0000 Subject: [PATCH] $1 --- ferramentas/metaestat/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ferramentas/metaestat/index.js b/ferramentas/metaestat/index.js index e7fb4fd..371eb83 100644 --- a/ferramentas/metaestat/index.js +++ b/ferramentas/metaestat/index.js @@ -1372,7 +1372,9 @@ i3GEOF.metaestat = { } else{ val = i3GEO.util.valoresCheckCombo(c.id); - t.push(dados[i].coluna+' IN ("'+val.join('","')+'")'); + if(val.length > 0){ + t.push(dados[i].coluna+' IN ("'+val.join('","')+'")'); + } } } } -- libgit2 0.21.2