%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
if ( $can{'ModifyTicket'} ) {
if ( $Ticket->Status ne 'resolved' ) {
$actions->{'G'} = {
- path =>
+ path =>
+ ($Ticket->MissingRequiredFields) ?
+ "Ticket/Modify.html?Status=resolved&id=$id" :
"Ticket/Update.html?Action="
. RT->Config->Get('ResolveDefaultUpdateType', $session{'CurrentUser'})
. "&DefaultStatus=resolved&id="