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

Clean up API class Action method add

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8, 1.9.0 (alpha)
    • 1.9.0 (alpha)
    • API (A)
    • None
    • Any

      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)

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

              Created:
              Updated:
              Resolved: