diff --git a/process/Ticket_lib/process.js b/process/Ticket_lib/process.js index dca0cd1770477c21ded50c49c85a07531cbbd819..185c069e60b549c3ee523064115ef3013933453a 100644 --- a/process/Ticket_lib/process.js +++ b/process/Ticket_lib/process.js @@ -122,7 +122,8 @@ TicketUtils.prototype.getTypeAttributes = function() TicketUtils.prototype.getAvailableStatus = function() { states = JSON.parse(KeywordUtils.getAttributeRelation(this.type, $KeywordRegistry.ticketType(), "availableStatus", "")) - + if (states == null) + return ""; return states; }