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

Clean up API class Action method add

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.0 (alpha)
    • Fix Version/s: 1.8, 1.9.0 (alpha)
    • Component/s: API (A)
    • Labels:
      None
    • Environment:
      Any

      Description

      class: action
      method: get
      file: class.caction.php

      line: 245
      // actionids
      if(!is_null($options['actionids']))

      { zbx_value2array($options['actionids']); $sql_parts['where'][] = DBcondition('a.actionid', $options['actionids']); }

      The above code should be removed.
      It works just as code on line 265 (includes similar functionality)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            yaap yaap
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: