From: Michal Vaner Date: Sat, 30 Aug 2008 09:36:23 +0000 (+0200) Subject: Fix name of method X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2fe6df85e6bdc25a3142a9c69880fd283b0091bc;p=pciids.git Fix name of method Resulting of using inherited one -> showing "discuss" link in toplevel items (PCI devices and PCI classes). --- diff --git a/PciIds/Address/Toplevel.pm b/PciIds/Address/Toplevel.pm index 0f16698..6f4836b 100644 --- a/PciIds/Address/Toplevel.pm +++ b/PciIds/Address/Toplevel.pm @@ -41,7 +41,7 @@ sub append( $$ ) { return ( PciIds::Address::Base::new( $self->{'value'} . ( ( $self->{'value'} =~ /\/$/ ) ? '' : '/' ) . $suffix ), undef ); } -sub canAddDiscuss( $ ) { return 0; } +sub canDiscuss( $ ) { return 0; } sub defaultRestrict( $ ) { my( $self ) = @_;