From librenms, 6 Years ago, written in Plain Text.
Embed
  1. diff --git a/html/pages/device/showconfig.inc.php b/html/pages/device/showconfig.inc.php
  2. index c01d032c9..006d21ed3 100644
  3. --- a/html/pages/device/showconfig.inc.php
  4. +++ b/html/pages/device/showconfig.inc.php
  5. @@ -170,7 +170,7 @@ if (is_admin()) {
  6.              $text = file_get_contents($config['oxidized']['url'].'/node/fetch/'.(!empty($node_info['group']) ? $node_info['group'].'/' : '').$oxidized_hostname);
  7.          }
  8.  
  9. -        if (is_array($node_info) || $config_total > 1) {
  10. +        if (is_array($node_info) || $config_total >= 1) {
  11.              echo '<br>
  12.                  <div class="row">
  13.              ';
  14.