Missing space in api/services/CTrigger.php SQL query.

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Trivial
    • 2.2.15rc1, 3.0.5rc1, 3.2.0rc1
    • Affects Version/s: 2.2.14, 3.0.4, 3.2.0beta1
    • Component/s: API (A)

      /frontends/php/include/classes/api/services/CTrigger.php

      'SELECT t.triggerid,t.description,t.expression'.
       ' FROM triggers t'.
       ' WHERE '.dbConditionInt('t.triggerid', $triggerIds).
       'AND t.templateid IS NOT NULL',
      

      Missing space before last AND.

      If the frontend is modified to use query without apostrophe symbols, this causes syntax error.

            Assignee:
            Unassigned
            Reporter:
            Dmitrijs Lamberts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: