osTicket/osTicket-1.8 — pull request #1435 by stevepacker (2014-10-27 23:38:02+00:00)
Title: createTicket respects alert/autorespond negatives

It was previously not possible to use the `alert` and `autorespond` flags in a negative way to prevent those two events, since the ternary operator would have used the `false` ternary value, which was `true`. This corrects that by allowing the default of `true` to be used only when the `$data` array does not have the appropriate keys set. Assigning `$data['source']` was altered to use the same formatting and caution against an undefined index error.