[rt-commit] [svn] r586 - rt/branches/rt-3.1/lib/RT/URI

leira at fsck.com leira at fsck.com
Tue Mar 16 19:29:15 EST 2004


Author: leira
Date: Tue Mar 16 19:29:14 2004
New Revision: 586

Modified:
   rt/branches/rt-3.1/lib/RT/URI/fsck_com_rt.pm
Log:
DTRT for ObjectType (and thus AsString).


Modified: rt/branches/rt-3.1/lib/RT/URI/fsck_com_rt.pm
==============================================================================
--- rt/branches/rt-3.1/lib/RT/URI/fsck_com_rt.pm	(original)
+++ rt/branches/rt-3.1/lib/RT/URI/fsck_com_rt.pm	Tue Mar 16 19:29:14 2004
@@ -75,7 +75,7 @@
 
 sub ObjectType {
     my $self = shift;
-    my $object = shift;
+    my $object = shift || $self->Object;
 
     my $type = 'ticket';
     if (ref($object) && (ref($object) ne 'RT::Ticket')) {



More information about the Rt-commit mailing list