[rt-users] A Scrip Condition error

Forrest Stanley fstanley at netburner.com
Thu Jan 23 12:45:27 EST 2003


At 11:32 AM 1/18/2003 +0100, Bruce Campbell wrote:
>On Fri, 17 Jan 2003, Forrest Stanley wrote:
>
> > This short code doesnt seem to be working properly. Looking for any
> > pointers why its not.
>
>You're referring to $self->CreatorObj, when you want to be referring to
>$self->TransactionObj->CreatorObj .  I'm also not sure why you have
>$creator about.


Thx for pointer, the $creator was just left over vode from trying something 
else :)
-forrest


>sub IsApplicable(){
>
>         my $self = shift;
>
>         my $retval = undef;
>
>         if( $self->TransactionObj->Type eq 'Correspond' ){
>           if( ! $self->TicketObj->IsOwner( 
> $self->TransactionObj->CreatorObj ) ){
>             if( ! $self->TicketObj->IsRequestor( 
> $self->TransactionObj->CreatorObj ) ){
>                 $retval = 1;
>             }
>           }
>         }
>
>         return( $retval );
>}
>
>Regards,
>
>--
>                              Bruce Campbell                            RIPE
>                    Systems/Network Engineer                             NCC
>                  www.ripe.net - PGP562C8B1B             Operations/Security
>
>http://www.dude.ru/music/gigflapping.html
>
>_______________________________________________
>rt-users mailing list
>rt-users at lists.fsck.com
>http://lists.fsck.com/mailman/listinfo/rt-users
>
>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm




More information about the rt-users mailing list