diff --git a/include/api.tickets.php b/include/api.tickets.php
index 6371daa632ff5240b0bee90cb3bed69c0ac56384..46cb8b6e19f1bb7cb5fc2eb0d0281a7d58c5247d 100644
--- a/include/api.tickets.php
+++ b/include/api.tickets.php
@@ -118,9 +118,9 @@ class TicketApiController extends ApiController {
     function createTicket($data) {
 
         # Pull off some meta-data
-        $alert = $data['alert'] ? $data['alert'] : true;
-        $autorespond = $data['autorespond'] ? $data['autorespond'] : true;
-        $data['source'] = $data['source'] ? $data['source'] : 'API';
+        $alert          = array_key_exists('alert',       $data) ? $data['alert']       : true;
+        $autorespond    = array_key_exists('autorespond', $data) ? $data['autorespond'] : true;
+        $data['source'] = array_key_exists('source',      $data) ? $data['source']      : 'API';
 
         # Create the ticket with the data (attempt to anyway)
         $errors = array();