I'm building a new product type and I'm using the existing product_type_music as my model. (version 1.38a)

In coding all the pages, I've come down to the last couple that I needed to modify and I stumbled on something that I never noticed before. In the past I've created new product types successfully but I did not use these files as a model.

In the two files, admin/record_artist.php and admin/music_genre.php, on or around lines 93, there is what looks like an incorrect reference - $manufacturer -

PHP Code:
 $manufacturer $db->Execute("select artists_image
                                        from " 
TABLE_RECORD_ARTISTS "
                                        where artists_id = '" 
. (int)$artists_id "'");
          
$image_location DIR_FS_CATALOG_IMAGES $manufacturer->fields['artists_image']; 
If that is correct, can someone give me a bit of a programming logic explanation. I'm definitely not a Php guru, but that loses me.

Also further down in the code there are several references to:
PHP Code:
manufacturer_inputs_string 
, which I would have thought should have been
PHP Code:
 record_artist_inputs_string 
or
PHP Code:
music_genre_inputs_string 
respectively.

Could someone clarify why the reference to manufacturer is in these two files?

Thanks a bunch

Ruth