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

Bug in code api/classes/class.cscript.php and include/maps.inc.php

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.8
    • Frontend (F)
    • None
    • 7.2-RELEASE-p4 FreeBSD, PHP/5.2.10, postgresql 8.4

      diff maps.inc.php maps.inc.php.old
      838c838
      < $selements[$db_element['selementid']] = $db_element;

      > $selements[$db_element['elementid']] = $db_element;
      846c846
      < # $scripts_by_hosts = null;

      > $scripts_by_hosts = null;

      diff class.cscript.php class.cscript.php.old
      139c139
      < $sql_parts['where'][] = '('.DBcondition('hg.hostid', $options['hostids']).' AND ((hg.groupid=s.groupid)'.

      > $sql_parts['where'][] = '(('.DBcondition('hg.hostid', $options['hostids']).' AND hg.groupid=s.groupid)'.
      141c141
      < '(s.groupid=0)))';

      > '(s.groupid=0))';

            Unassigned Unassigned
            vladimir_omsk Vladimir V Levchenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: