Commit a7712052df95895bd2ba642acae6df80f64d231f
1 parent
edad95ef
Exists in
master
and in
1 other branch
- correção de erro recorrente (#57 fixed)
git-svn-id: http://svn.softwarepublico.gov.br/svn/cacic/cacic/trunk/gerente@501 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
relatorios/compartilhamentos/rel_compartilhamentos.php
... | ... | @@ -137,7 +137,8 @@ $query = "SELECT DISTINCT compartilhamentos.id_so, |
137 | 137 | compartilhamentos.id_so = computadores.id_so) AND |
138 | 138 | compartilhamentos.id_so IN ($so_selecionados) AND |
139 | 139 | nm_dir_compart <> '' |
140 | - $query_redes | |
140 | + $query_redes | |
141 | + GROUP BY computadores.te_nome_computador,compartilhamentos.id_so,compartilhamentos.te_node_address | |
141 | 142 | ORDER BY computadores.te_nome_computador ASC "; |
142 | 143 | |
143 | 144 | $resultado = mysql_query($query) or die('Erro no select '. mysql_error().' ou sua sessão expirou!'); | ... | ... |