Commit 4293a7bc1b954e3093c6bde349b18b48ba21adf2

Authored by Adriano Vieira
1 parent a7712052
Exists in master and in 1 other branch 3.1

- correção de erro recorrente (#58 fixed)

git-svn-id: http://svn.softwarepublico.gov.br/svn/cacic/cacic/trunk/gerente@502 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
relatorios/hardware/rel_hardware.php
... ... @@ -134,7 +134,7 @@ else { $orderby = '3'; } //por Nome Comp.
134 134 a.te_nome_computador as "Nome Comp.",
135 135 sg_so as "S.O.",
136 136 a.te_ip as "IP"' .
137   - $select .'
  137 + $select . ($campos_hardware?','.$campos_hardware:"") . '
138 138 FROM so LEFT JOIN computadores a ON (a.id_so = so.id_so) '.
139 139 $from . '
140 140 WHERE TRIM(a.te_nome_computador) <> "" AND
... ...