[Rt-commit] r11503 - in rtfm/branches/2.3-EXPERIMENTAL: html/Callbacks/RTFM/Elements/MessageBox

falcone at bestpractical.com falcone at bestpractical.com
Fri Apr 4 18:31:32 EDT 2008


Author: falcone
Date: Fri Apr  4 18:31:31 2008
New Revision: 11503

Modified:
   rtfm/branches/2.3-EXPERIMENTAL/   (props changed)
   rtfm/branches/2.3-EXPERIMENTAL/html/Callbacks/RTFM/Elements/MessageBox/Default

Log:
 r30996 at ketch:  falcone | 2008-04-04 18:31:15 -0400
 * we don't use ARGS in this template anymore


Modified: rtfm/branches/2.3-EXPERIMENTAL/html/Callbacks/RTFM/Elements/MessageBox/Default
==============================================================================
--- rtfm/branches/2.3-EXPERIMENTAL/html/Callbacks/RTFM/Elements/MessageBox/Default	(original)
+++ rtfm/branches/2.3-EXPERIMENTAL/html/Callbacks/RTFM/Elements/MessageBox/Default	Fri Apr  4 18:31:31 2008
@@ -66,11 +66,11 @@
     next unless $article && $article->id;
 
     my $Ticket = $ARGS{Ticket};
-    if ( !$Ticket and $ARGS{id} and $ARGS{id} ne 'new' ) {
+    if ( !$Ticket and $parent_args{id} and $parent_args{id} ne 'new' ) {
         $Ticket = RT::Ticket->new($session{'CurrentUser'});
-        my ($id,$msg) = $Ticket->Load($ARGS{id});
+        my ($id,$msg) = $Ticket->Load($parent_args{id});
         unless ($id) {
-            $RT::Logger->error("Couldn't load ticket $ARGS{id}: $msg")
+            $RT::Logger->error("Couldn't load ticket $parent_args{id}: $msg")
         }
     }
 


More information about the Rt-commit mailing list