fix for nil photo input submission
Merge pull request #70 from biola/gallery_photos_fix

fix for nil photo input submission