Update BaseGallery.php

This method makes Gallery impossible to CRUD, we need to find why, for now commenting it makes everything work.