If an image has no description, the following shows up in Drupal logs:

Notice: Undefined index: und in media_gallery_detail_page() (line 92 of /var/www/drupal/sites/all/modules/contrib/media_gallery/media_gallery.pages.inc).

This can be avoided by applying the attached patch.

und.patch888 bytesmrryanjohnston


Moloc’s picture

Status:Active» Postponed (maintainer needs more info)

It seems, you have a patched media gallery. Thats not the source code of media_gallery.

mrryanjohnston’s picture

Ah, I apologize. This may be the case. Thanks!

Moloc’s picture

Status:Postponed (maintainer needs more info)» Closed (works as designed)