[Rt-commit] rt branch, update-action, updated. 3c8f5a52b7b7dc05c209b0f8f41ea2e48a5a2846
sartak at bestpractical.com
sartak at bestpractical.com
Tue Dec 15 14:12:18 EST 2009
The branch, update-action has been updated
via 3c8f5a52b7b7dc05c209b0f8f41ea2e48a5a2846 (commit)
from 187daaaf258962089d9b5959a4300f93a1ec5ef9 (commit)
Summary of changes:
lib/RT/View/Ticket/Update.pm | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 3c8f5a52b7b7dc05c209b0f8f41ea2e48a5a2846
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Dec 15 14:11:47 2009 -0500
Arg, Action::Record takes a top-level record parameter, not a record inside the arguments argument
diff --git a/lib/RT/View/Ticket/Update.pm b/lib/RT/View/Ticket/Update.pm
index dbda010..8996bcc 100644
--- a/lib/RT/View/Ticket/Update.pm
+++ b/lib/RT/View/Ticket/Update.pm
@@ -59,11 +59,9 @@ template 'modify' => page { title => _('Modify a ticket') } content {
$ticket->load($id);
my $update = new_action(
- class => 'UpdateTicket',
- moniker => 'modify_ticket',
- arguments => {
- record => $ticket,
- },
+ class => 'UpdateTicket',
+ moniker => 'modify_ticket',
+ record => $ticket,
);
with ( name => 'ticket_modify' ), form {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list