mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 11:29:12 +02:00
fixed minor error cluster name by alias
This commit is contained in:
parent
fc82a9d172
commit
f2b1c99013
@ -481,8 +481,7 @@ if ($agents !== false) {
|
|||||||
|
|
||||||
if($agent["id_os"] == 100){
|
if($agent["id_os"] == 100){
|
||||||
$cluster = db_get_row_sql('select id from tcluster where id_agent = '.$agent['id_agente']);
|
$cluster = db_get_row_sql('select id from tcluster where id_agent = '.$agent['id_agente']);
|
||||||
echo '<a href="index.php?sec=reporting&sec2=enterprise/godmode/reporting/cluster_builder&id_cluster='.$cluster['id'].'&step=1&update=1">'.$agent['nombre'].'</a>';
|
echo '<a href="index.php?sec=reporting&sec2=enterprise/godmode/reporting/cluster_builder&id_cluster='.$cluster['id'].'&step=1&update=1">'.$agent['alias'].'</a>';
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
echo "<a alt =".$agent["nombre"]." href='index.php?sec=gagente&
|
echo "<a alt =".$agent["nombre"]." href='index.php?sec=gagente&
|
||||||
sec2=godmode/agentes/configurar_agente&tab=$main_tab&
|
sec2=godmode/agentes/configurar_agente&tab=$main_tab&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user