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

Error in class Alert

XMLWordPrintable

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

      Class: Alert
      method: add
      file: class.calert.php

      In the following statement change "sentto" to "sendto".

      $sql = 'INSERT INTO alerts '.
      '(alertid, actionid, eventid, userid, mediatypeid, clock, sendto, subject, message, status, retries, error, nextcheck, esc_step, alerttype) '.
      ' VALUES ('.$alertid.','.$alert['actionid'].','.$alert['eventid'].','.$alert['userid'].','.$alert['mediatypeid'].','.
      $alert['clock'].','.zbx_dbstr($alert['sentto']).','.zbx_dbstr($alert['subject']).','.zbx_dbstr($alert['message']).','.
      $alert['status'].','.$alert['retries'].','.zbx_dbstr($alert['error']).','.$alert['nextcheck'].','.
      $alert['esc_step'].','.$alert['alerttype'].' )';

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

              Created:
              Updated:
              Resolved: