Hi,

I use QueueLookup(Queue => $MyNewQueueName) to check whether a queue already
exists. If it does not exist yet, then I call QueueAdd(). But QueueAdd()
modifies $Param{Name} and removes trailing white space. So I'd suggest that
QueueLookup() behaves in the same way, eg. adding the following lines right
after the "check needed stuff" block:

if ($Param{Queue}) {
    $Param{Queue} =~ s/(\n|\r)//g;
    $Param{Queue} =~ s/\s$//g;
}

Regards,
Felix


_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to