Well , the only way I can get this to work is like this :
around line 1668
PHP Code:
 $v_manufacturers_id = ($ep_uses_mysqli mysqli_insert_id($db->link) : mysql_insert_id()); // id is auto_increment, so can use this function

            
if ($result) {
              
zen_record_admin_activity('Inserted manufacturer ' addslashes($v_manufacturers_name) . ' via EP4.''info');
            } 
I guess the record_admin_activity is inserting also, and probably that's the ID that the manufacturer_info gets....
So the mysqli_insert_id($db->link) should be above that zen_record_etc function,,,,