maltes
committed
on 04 Jan 04
As upload file is optional, we must make sure it is set, otherwise upload breaks