Fixed a gallery variable in the admin files.