Commit 487764bea684b27f762d6bde1aa44914819df11d
1 parent
373ca6d8
Correction site
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
site/graphique.php
... | ... | @@ -29,7 +29,7 @@ else $start = $start." 00:00:00"; |
29 | 29 | <br/> |
30 | 30 | <h1 style="margin-bottom:20px; margin-top:60px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="fas fa-chart-line"></i> Graphe du capteur</h1> |
31 | 31 | <?php |
32 | - if(historyExist($nom)) | |
32 | + if(historyExist($nom) && $nombre > 1) | |
33 | 33 | { |
34 | 34 | echo "<img src='graphe.php?nom=$nom&nombre=$nombre&start=$start&end=$end' alt='graphe'>"; |
35 | 35 | } | ... | ... |
site/upload/inventaire.ini