Issue #1141374 by Krasnyj, Dave Reid, gollyg | james.elliott: Fixed PHP notices due to media_field_formatter_view() not re-casting the file array back to an object.