Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-4337

possible typo in class.cusermacro.php

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8.8
    • Fix Version/s: 1.8.11, 2.0.0
    • Component/s: None
    • Labels:

      Description

      Hi,

      I suspect there is a typo here:
      zabbix-1.8.8$ grep -nir hstid *
      frontends/php/api/classes/class.cusermacro.php:822: else if(isset($upd_templates[$exst_macro['hstid']]))

      I don't know if it affects, but I want to use the api to updating several host macros, and I found that reading the code. I suppose that should be changed to hostid , isn't it ?

      Thanks

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            i5513 Javier Barroso
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: