[rt-devel] Fwd: [rich+rt@lafferty.ca: [rt-users] Labeled priorities]

Bruce Campbell bruce_campbell at ripe.net
Tue Feb 12 11:06:57 EST 2002


On Tue, 12 Feb 2002, Bruce Campbell wrote:

> 		if( defined( $easy_chk{"$tmpval"} ) ){
> 			$retval = $self->TicketObj->SetPriority( $easy_chk{"$tmpval"} );
> 		}

Actually, thats an incredibly lazy way of checking the Keyword, as it
completely fails to take into account possible hierarchys which
conceivably should have higher priorities, and will easily get confused
with multiple sub-keywords that are named the same.

Nothing is as easy as it seems ;)

-- 
                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B                      Operations





More information about the Rt-devel mailing list