[rt-users] On assign, send text of ticket to new owner

darren chamberlain darren at boston.com
Thu Jan 23 13:13:46 EST 2003


* Russ Johnson <russj at dimstar.net> [2003-01-23 13:06]:
> At 02:01 PM 1/22/2003 -0500, darren chamberlain wrote:
> >* Russ Johnson <russj at dimstar.net> [2003-01-22 13:55]:
> > > I found what I think you were referring to for a template.
> > > However, the rendering of the archive leaves a lot to be desired.
> > > Here's what I see:
> >
> > All those =3D's should be =; a little global search and replace
> > should fix that for you.
> 
> OK, so I have the following:
> 
> while (my $trans =; $transactions->Next) {
>         $OUT .=; $trans->CreatedObj->AsString . ": " .
>                         $trans->Description;
>         if ($trans->TimeTaken) {
>                 $OUT .=;       " (".$trans->TimeTaken." min)";
>         }
>         $OUT .=; "\n";
>         if ($trans->Content) {
>                 $OUT .=; $trans->Content . "\n";
>         }
>         $OUT .=; ('-'x78)."\n";
> }
> 
> 
> 1;
> }

Close; make the while loop:

  while (my $trans = $transactions->Next) {
          $OUT .= $trans->CreatedObj->AsString . ": " .
                          $trans->Description;
          if ($trans->TimeTaken) {
                  $OUT .=       " (".$trans->TimeTaken." min)";
          }
          $OUT .= "\n";
          if ($trans->Content) {
                  $OUT .= $trans->Content . "\n";
          }
          $OUT .= ('-'x78)."\n";
  }

My explanation was a little unclear -- I said "All those =3D's should be
=;", but I meant "All those =3D's should be =" and *then* the
semi-colon (sorry).

(darren)

-- 
Work keeps us from three great evils: boredom, vice, and poverty.
    -- Voltaire



More information about the rt-users mailing list