Fixed small PHP error on file field

Signed-off-by: Elliot Condon <e@elliotcondon.com>