Change in admin/products_attributes row 76(or somewhere near...)
tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "','', '".tep_db_input($attributes_sort)."')");
For some reason the last part was missing....