From eeb02d8a3c662cd2b6f963b3792d11bbee491faa Mon Sep 17 00:00:00 2001 From: Andrew Chilton Date: Sun, 22 Jun 2008 01:02:12 +1200 Subject: [PATCH] Fix which class name the new 'basething' should be blessed under. --- lib/CIL/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5