diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-11-23 21:43:50 +0100 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-11-23 21:43:50 +0100 |
commit | e746d8b804f44ffbce1f5e2eaef7c0e0deeaa117 (patch) | |
tree | a22714b2699b7968b8af891730e4355b767ab5a3 /api/gen_etat_reseau.php | |
parent | 3ab8ca3441e26198dfe11dc88de03ac81882fec8 (diff) | |
download | chd_gestion-e746d8b804f44ffbce1f5e2eaef7c0e0deeaa117.zip chd_gestion-e746d8b804f44ffbce1f5e2eaef7c0e0deeaa117.tar.gz chd_gestion-e746d8b804f44ffbce1f5e2eaef7c0e0deeaa117.tar.bz2 |
Merge
Diffstat (limited to 'api/gen_etat_reseau.php')
-rw-r--r-- | api/gen_etat_reseau.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/gen_etat_reseau.php b/api/gen_etat_reseau.php index 53d3d78..b824649 100644 --- a/api/gen_etat_reseau.php +++ b/api/gen_etat_reseau.php @@ -56,7 +56,8 @@ $res = $mysqli->query("SELECT e.id, FROM equipements e LEFT JOIN relais r ON ( r.id = e.relais_id ) WHERE (e.relais_id IS NOT NULL OR e.hostname='STG1') -AND e.date_hs IS NULL"); +AND e.date_hs IS NULL +AND e.equipement_mode_id != 'power'"); $equipements = array(); while ( $e_row = $res->fetch_assoc() ) { $id = $e_row['id']; |