HOSTNAME macros is incorrect in map.

      Followings is the souce code frontends/php/include/maps.inc.php of 2.0.11.
      309 // resolves basic macros
      310 // $hostsByNr possible keys: '' and 1-9
      311 foreach ($hostsByNr as $i => $host) {
      312 $replace = array(
      313 '

      {HOST.NAME'.$i.'}

      ' => $host['name'],
      314 '

      {HOSTNAME'.$i.'}' => $host['name'],
      315 '{HOST.HOST'.$i.'}' => $host['host'],
      316 '{HOST.DNS'.$i.'}' => $host['dns'],
      317 '{HOST.IP'.$i.'}' => $host['ip'],
      318 '{IPADDRESS'.$i.'}' => $host['ip'],
      319 '{HOST.CONN'.$i.'}' => $host['useip'] ? $host['ip'] : $host['dns'],
      320 );
      321 $label = str_replace(array_keys($replace), $replace, $label);
      322 }

      l.314 must be
      '{HOSTNAME'.$i.'}

      ' => $host['host'],

            Unassigned Unassigned
            daiki.matsuda@miraclelinux.com MATSUDA Daiki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: