X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fbin%2Frt;fp=rt%2Fbin%2Frt;h=32f459a7e7c785b99db05a0084a262256c7f40d9;hp=01e4a190e623ae880074f50af2f871da0d43209c;hb=c24d6e2242ae0e026684b8f95decf156aba6e75e;hpb=6686c29104e555ea23446fe1db330664fa110bc0 diff --git a/rt/bin/rt b/rt/bin/rt index 01e4a190e..32f459a7e 100755 --- a/rt/bin/rt +++ b/rt/bin/rt @@ -905,11 +905,6 @@ sub link { if (@ARGV == 3) { my ($from, $rel, $to) = @ARGV; - if ($from !~ /^\d+$/ || $to !~ /^\d+$/) { - my $bad = $from =~ /^\d+$/ ? $to : $from; - whine "Invalid $type ID '$bad' specified."; - $bad = 1; - } if (($type eq "ticket") && ( ! exists $ltypes{lc $rel})) { whine "Invalid link '$rel' for type $type specified."; $bad = 1; @@ -1710,7 +1705,7 @@ sub prettyshow { } print "$k->{Content}\n" if exists $k->{Content} and $k->{Content} !~ /to have no content$/ and - $k->{Type} ne 'EmailRecord'; + ($k->{Type}||'') ne 'EmailRecord'; print "$k->{Attachments}\n" if exists $k->{Attachments} and $k->{Attachments}; }