[Rt-commit] rtir branch, 5.0/abort-ticket-create-page-if-no-queue, repushed

Craig Kaiser craig at bestpractical.com
Mon Jun 22 14:54:02 EDT 2020


The branch 5.0/abort-ticket-create-page-if-no-queue was deleted and repushed:
       was c5883e7ba1bde01717f4a30c67b048f9f7165ba4
       now 776b358231848579f70f7fa1af5a7d92a88c834c

1: c5883e7b ! 1: 776b3582 Abort ticket create if no queue can be loaded
    @@ -27,7 +27,7 @@
      if (!$QueueObj->Name) {
     -Abort( loc("Queue '[_1]' could not be loaded.", $queue) );
     - }
    -+  Abort(loc("Queue [_1] could not be loaded.", $Queue||''), Code => HTTP::Status::HTTP_BAD_REQUEST );
    ++  Abort(loc("Queue [_1] could not be loaded.", $queue||''), Code => HTTP::Status::HTTP_BAD_REQUEST );
     +}
     +$QueueObj->Disabled && Abort(loc("Cannot create tickets in a disabled queue."), Code => HTTP::Status::HTTP_NOT_FOUND);
      



More information about the rt-commit mailing list