unregister_driver_type contains a possible bug... in_array not properly utilized

i might be wrong, but it appears that the in_array is missing the "type" argument and that the options defined are not an "array" this also affects version 1.6