fixing the image asset

This commit is contained in:
JT Smith 2004-12-25 18:13:38 +00:00
parent 27356b09f6
commit 856ee6fd18
5 changed files with 66 additions and 35 deletions

View file

@ -352,7 +352,7 @@ sub get {
my $class = shift;
my $id = shift;
$id =~ m/^(.{2})(.{2})/;
bless {_id => $id, _part1 => $1, _part2 => $2}, $class;
bless {_id => $id, _part1 => $1, _part2 => $2}, ref($class)||$class;
}
#-------------------------------------------------------------------