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

possible typo in class.cusermacro.php

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.8.11, 2.0.0
    • 1.8.8
    • None

      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

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

              Created:
              Updated:
              Resolved: