From: Andrew Chilton Date: Sat, 21 Jun 2008 13:02:12 +0000 (+1200) Subject: Fix which class name the new 'basething' should be blessed under. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=eeb02d8a3c662cd2b6f963b3792d11bbee491faa;p=cil.git Fix which class name the new 'basething' should be blessed under. --- diff --git a/lib/CIL/Base.pm b/lib/CIL/Base.pm index ed2c88a..843677f 100644 --- a/lib/CIL/Base.pm +++ b/lib/CIL/Base.pm @@ -42,7 +42,7 @@ sub new_from_name { unless -f $filename; my $data = CIL::Utils->parse_cil_file($filename, 'Description'); - my $issue = CIL::Issue->new_from_data( $name, $data ); + my $issue = $class->new_from_data( $name, $data ); return $issue; }